activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helen Huang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQCPP-316) Unable to receive any messages after re-starting message broker
Date Fri, 24 Sep 2010 16:26:41 GMT

    [ https://issues.apache.org/activemq/browse/AMQCPP-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62071#action_62071
] 

Helen Huang commented on AMQCPP-316:
------------------------------------

I have tested both cases:
(1) broker was running and I killed it
(2) and there was nothing running when I started my app

I agree with you on the comment about the usage of the failover transport. The MessageSender
was using the tcp transport before, but it did not work well. When the url was "tcp://127.0.0.1:61616",
the MessageSender was never able to send anything after the broker is brought offline once.

When the url was "tcp://127.0.0.1:61616?keepAlive=true&wireFormat.maxInactivityDuration=0",
the sender was able to send after the broker was back online most of time. However there was
one time or two that it was not able to send anything anymore. The failure was observed using
a different application (a bit more complicated than the MessageSender I have put here). I
will need to repeat the test and see if the problem is reproducible. I will update you with
the result. Thanks!



> Unable to receive any messages after re-starting message broker
> ---------------------------------------------------------------
>
>                 Key: AMQCPP-316
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-316
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 3.2.0, 3.2.1, 3.2.2, 3.2.3
>         Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util
1.3.9, apr iconv 1.2.1
>            Reporter: Helen Huang
>            Assignee: Timothy Bish
>            Priority: Critical
>             Fix For: 3.2.4, 3.3.0
>
>         Attachments: ReconnectionTest-new.zip, ReconnectionTest.zip
>
>
> We developed two applications that use CmsTemplate to send and receive messages. The
sender application is called MessageSender, and the receiver application is called MessageListener.
We found that the MessageListener is unable to receive any messages after we re-start the
message broker.
> The followings are the steps to recreate the problem:
> (1) start the activemq message broker,
> (2) start MessageListener and MessageSender, and observe that messages are being sent
and received successfully.
> (3) stop the message broker without stopping MessageListener and MessageSender. Wait
for a while (for about a minute or two)
> (4) start the message broker again.
> We expect we can send and receive messages successfully after step (4), but the MessageListener
can never receive any messages any more. Also from the activemq admin page, we find that the
consumer of the topic is gone. We did the test with url "?keepAlive=true&wireFormat.maxInactivityDuration=0",
but it did not work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message