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

[LTS] Camel route with additional connection causes inconsistent queue counts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • AMQ 7.8.1.GA
    • None
    • False
    • False
    • +
    • Undefined
    • Hide

      1. Create brokers:

      bin/artemis create --no-mqtt-acceptor --no-hornetq-acceptor --allow-anonymous --user admin --password admin  --host 127.0.0.1 --staticCluster "tcp://127.0.0.1:61617" --clustered --cluster-user admin --cluster-password admin --http-port 8161 --relax-jolokia --port-offset 0 --max-hops 1 broker1
      
      bin/artemis create --no-mqtt-acceptor --no-hornetq-acceptor --allow-anonymous --user admin --password admin  --host 127.0.0.1 --staticCluster "tcp://127.0.0.1:61616" --clustered --cluster-user admin --cluster-password admin --http-port 8161 --relax-jolokia --port-offset 1 --max-hops 1 broker2
      

      2. Run reproducer
      mvn clean test

      3. Observe the counts for the addresses attributes tab in the web console

      Show
      1. Create brokers: bin/artemis create --no-mqtt-acceptor --no-hornetq-acceptor --allow-anonymous --user admin --password admin --host 127.0.0.1 --staticCluster "tcp: //127.0.0.1:61617" --clustered --cluster-user admin --cluster-password admin --http-port 8161 --relax-jolokia --port-offset 0 --max-hops 1 broker1 bin/artemis create --no-mqtt-acceptor --no-hornetq-acceptor --allow-anonymous --user admin --password admin --host 127.0.0.1 --staticCluster "tcp: //127.0.0.1:61616" --clustered --cluster-user admin --cluster-password admin --http-port 8161 --relax-jolokia --port-offset 1 --max-hops 1 broker2 2. Run reproducer mvn clean test 3. Observe the counts for the addresses attributes tab in the web console

      In a particular scenario with the following:

      • Clustered brokers
      • Camel route with one JMS connection factory
      • Separate JMS connection factory is used to establish a connection and the disconnect

      The messsage count on the SF queue increase, and the "number of messages" count on the DLQ, ExpiryQUeue, and SF queue increase.

      Reproducer is attached.

              rh-ee-ataylor Andy Taylor
              dbruscin Domenico Francesco Bruscino
              Roman Vais Roman Vais (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: