activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Mielke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-2455) Need a facility to retry jms connections to a foreign provider by the ActiveMQ JMS bridge.
Date Thu, 21 Jul 2011 08:58:57 GMT

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

Torsten Mielke commented on AMQ-2455:
-------------------------------------

I can confirm that this issue isn't fixed in 5.5 either. 
Have run some tests based on http://activemq.apache.org/jms-to-jms-bridge.html bridging two
AMQ brokers.
If the remote broker is stopped (the one the JMS bridge connects to), the JMSBridge is not
closed in the local broker. JMX still lists it. 
When the remote broker is restarted, connections are not re-established to the remote broker.
The JMS bridge does not get refreshed. 
As a result messages don't flow between the two brokers.



> Need a facility to retry jms connections to a foreign provider by the ActiveMQ JMS bridge.
> ------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2455
>                 URL: https://issues.apache.org/jira/browse/AMQ-2455
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>         Environment: Debian Lenny.  ActiveMQ 5.2.  OpenJMS-0.7.7-beta-1
>            Reporter: Billy Buzzard
>            Assignee: Rob Davies
>             Fix For: 5.4.0
>
>         Attachments: bridge-reconnect.patch, test.zip
>
>
> I followed an example (http://www.codeproject.com/KB/docview/jms_to_jms_bridge_activem.aspx?display=Print)
showing how to set up a bridge between OpenJMS and ActiveMQ.  The bridge seems to work perfectly
until I stop then restart OpenJMS while leaving ActiveMQ running.  Once I restart OpenJMS
I try sending a message from it to ActiveMQ, but ActiveMQ doesn't receive it until I stop
and restart ActiveMQ.  I can recreate the exact same problem by starting ActiveMQ first and
then OpenJMS.  After a little more reading it looks like failover should fix this problem,
but I tried it and it didn't work.  I submitted a question to ActiveMQ and Gary Tully responded
and told me there is currently no facility to retry jms connections to a foreign provider
by the ActiveMQ JMS bridge.
> Assuming that remote end-points may not be using ActiveMQ then I would think this would
be a very important feature to have.
> Here's a link to our conversation: http://www.nabble.com/How-to-configure-failover-for-jmsBridgeConnector-td25909047.html#a25918800
> The conversation also contains an attachment showing me configuration file.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message