qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Rudyy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-4389) Qpid topic exchange does not resend message when subsciber come back online
Date Thu, 25 Oct 2012 13:09:12 GMT

    [ https://issues.apache.org/jira/browse/QPID-4389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13484101#comment-13484101
] 

Alex Rudyy commented on QPID-4389:
----------------------------------

Hi Andrew,
I am not sure that I understood your question.
If you are asking about setting dependencies in pom.xml to newly built client then you can
use system maven dependencies
and can replace your current dependencies with something like

{code:xml}
    <dependency>
      <groupId>org.apache.qpid</groupId>
      <artifactId>qpid-common</artifactId>
      <version>0.19</version>
      <scope>system</scope>
      <systemPath>path/to/lib/qpid-common-0.19.jar</systemPath>
    </dependency>
    <dependency>
      <groupId>org.apache.qpid</groupId>
      <artifactId>qpid-client</artifactId>
      <version>0.19</version>
      <scope>system</scope>
      <systemPath>path/to/lib/qpid-client-0.19.jar</systemPath>
    </dependency>
    
     <dependency>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-jms_1.1_spec</artifactId>
      <version>1.0</version>
      <scope>provided</scope>
    </dependency>

<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-log4j12</artifactId>
    <version>1.6.4</version>
</dependency>

<dependency>
    <groupId>log4j</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.16</version>
</dependency>


{code}


In case of using Binding URL, you can replace in your test class line
Topic topic = ts.createTopic("amq.topic/sitaware.test");
with
Topic topic = ts.createTopic("BURL:sitaware.test");



                
> Qpid topic exchange does not resend message when subsciber come back online
> ---------------------------------------------------------------------------
>
>                 Key: QPID-4389
>                 URL: https://issues.apache.org/jira/browse/QPID-4389
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.14
>         Environment: Linux,Netbeans 7.2
>            Reporter: Andrew Burks
>            Assignee: Robbie Gemmell
>              Labels: newbie
>             Fix For: 0.19
>
>         Attachments: DurSubProject.tar.gz, qpid.log
>
>
> When testing durable subscibers, I first publish a message to a subscriber to be sure
it can receive messages. Checks out ok. Then I bring the subscriber down with subscriber.close()
where subscriber is an instance of MessageConsumer. Next, I publish another message while
the subscriber is down, then I bring the subsciber back up and wait 10 seconds for a message...no
message comes. To be sure the everything is working properly, I create another message and
publish it, the subscriber has no problem receiving it. My question is where has the second
message gone? I would think that the message would have been queued up some place to be sent
out again but that is not the case. Please let me know if I am looking at this totally wrong.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message