Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-278

qpid jms client fails to send more than 50 messages to ActiveMQ broker when using local JMS transactions.

XMLWordPrintable

    • Hide

      Use test case attached in qpid-amqp-transaction-test.tgz.

      • Start a broker such as apache-activemq-5.9.0.redhat-611423 using its default configuration (./activemq console)
      • run mvn test and see it fail. Hanging for around 20 secs when trying to send message #51 before the test times out.

      Unfortunately this test requires an external broker listening for AMQP on default port 5672.
      I tried to use an embedded broker but the embedded broker needs to include activemq-amqp, which includes org.apache.qpid:proton-jms:jar:0.8. This test uses org.apache.qpid:qpid-jms-examples:jar:0.3.0 which has a dependency on org.apache.qpid:proton-jms:jar:0.9.1.

      Having both proton-j jars on the classpath results in Connection.start() to hang in the Producer.

      Show
      Use test case attached in qpid-amqp-transaction-test.tgz. Start a broker such as apache-activemq-5.9.0.redhat-611423 using its default configuration (./activemq console) run mvn test and see it fail. Hanging for around 20 secs when trying to send message #51 before the test times out. Unfortunately this test requires an external broker listening for AMQP on default port 5672. I tried to use an embedded broker but the embedded broker needs to include activemq-amqp, which includes org.apache.qpid:proton-jms:jar:0.8. This test uses org.apache.qpid:qpid-jms-examples:jar:0.3.0 which has a dependency on org.apache.qpid:proton-jms:jar:0.9.1. Having both proton-j jars on the classpath results in Connection.start() to hang in the Producer.

      A Qpid JMS producer that sends messages to the ActiveMQ broker via AMQP and local JMS transactions hangs after sending 50 messages.

              Unassigned Unassigned
              rhn-support-tmielke Torsten Mielke
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: