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] Updated: (AMQ-2455) Need a facility to retry jms connections to a foreign provider by the ActiveMQ JMS bridge.
Date Fri, 19 Feb 2010 22:58:40 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

juergen schmied updated AMQ-2455:
---------------------------------

    Attachment: test.zip

I use this like this:

JmsQueueConnector jmsQueueConnector = new JmsQueueConnector();

// Here the queueConnection gets wraped:
QueueConnection createQueueConnection = new  QueueConnectionWrap(queueConnectionFactory.createQueueConnection());

		
createQueueConnection.start();

jmsQueueConnector.setOutboundQueueConnection(createQueueConnection);
OutboundQueueBridge outboundQueueBridge = new OutboundQueueBridge("DEV_MSGQ");
outboundQueueBridge.setLocalQueueName("SUBJECT");
jmsQueueConnector.setOutboundQueueBridges(new OutboundQueueBridge[] { outboundQueueBridge
});

broker.setJmsBridgeConnectors(new JmsConnector[] { jmsQueueConnector });


> 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
>         Attachments: 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message