Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-714

Cluster fails with JMS AMQP clients (distributing messages)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • AMQ 7.0.2.GA
    • AMQ 7.0.1.GA
    • None
    • Hide

      I've attached a sample project (based on one of the examples in Artemis).
      Please download and unzip.

      Execute 'mvn verify' and the problem should be reproduced.

      Prerequisite:
      Ensure the test environment allows multicasting and the 2 brokers that are started connect together to form a cluster.

      The file:

      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
       src/main/resources/jndi.properties
      

      is configured to use qpid JMS client.

      The Artemis JNDI configuration is included but commented out. If you run again disabling QPID and enabling ARTEMIS, the test should succeed.

      Show
      I've attached a sample project (based on one of the examples in Artemis). Please download and unzip. Execute 'mvn verify' and the problem should be reproduced. Prerequisite: Ensure the test environment allows multicasting and the 2 brokers that are started connect together to form a cluster. The file: Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml src/main/resources/jndi.properties is configured to use qpid JMS client. The Artemis JNDI configuration is included but commented out. If you run again disabling QPID and enabling ARTEMIS, the test should succeed.

      The failure is seen under the following scenario:

      > a cluster is formed with Noda A and Node B
      > a consumer connects to Node B (qpid JMS client)
      > a producer connects to Node A (qpid JMS client)
      > the producer sends an AMQP message using the Qpid JMS (AMQP) client library

      In the above scenario Node A encounters a problem and the client is not able to deliver the message.

      > The problem does not occur if the consumer is also connected to Node A
      > The problem does not occur if the clients use Artemis JMS client instead.

              rh-ee-ataylor Andy Taylor
              bmesegue@redhat.com Bruno Meseguer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: