activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "juergen schmied (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 Fri, 19 Feb 2010 22:56:40 GMT

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

juergen schmied commented on AMQ-2455:
--------------------------------------

I tested to reconnect with a Oracle JMS-Client. You have to get a new QueueSession from the
QueueConnection after the connection ist lost.

I've managed to warp a QueueConnection to let ist reconnect by itself. (I think its a hack,
but I attach the files)

Now I can reconnect but in a moment when the remote DB is down and I throw a Exception in
Sender.sendMessage() a Message gets lost:

http://old.nabble.com/Bridging-not-working-reliable-td27661175.html

I would love this bug to be fixed.

Thanks

juergen

> Need a facility to retry jms connections to a foreign provider by the ActiveMQ JMS bridge.
> ------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2455
>                 URL: https://issues.apache.org/activemq/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
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message