You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Yana G (JIRA)" <ji...@apache.org> on 2012/12/04 09:14:58 UTC

[jira] [Created] (AMQ-4204) Do not start JMS Bridge if foreign or local connection is failed

Yana G created AMQ-4204:
---------------------------

             Summary: Do not start JMS Bridge if foreign or local connection is failed
                 Key: AMQ-4204
                 URL: https://issues.apache.org/jira/browse/AMQ-4204
             Project: ActiveMQ
          Issue Type: Bug
          Components: activemq-camel
    Affects Versions: 5.6.0
            Reporter: Yana G
            Priority: Blocker


Have 2 JMSConnectors with one JMS Bridge in each. 
Both having the same local JMSQueue and different remote JMSQueues.

When start connector, one remote connection fails and it's reconnect is scheduled.
However, the corresponding Bridge is started. So, we have the following behaviour:

1) JMS Message is published in ocal JMSQueue;
2) As Queue has 2(!) consumers, it can be processed by any of them;
3) If the broken bridge (without foreign connection) is selected, then message will be not processed until the connection succeeds.

We believe that this is wrong behaviour, as JMS messages are not processed, even if there is one proper brigde exists on local queue.

We expect the following behaviour:
When foreign (or local) connection fails, do not start corresponding bridges.







--
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