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

AMQP messages are not redelivered to Camel-AMQP client

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • AMQ 7.3.0.GA
    • broker-core
    • None
    • Hide

      1. Start a camel route using the attached camel-context.xml
      2. Send a message using amqp protocol

      ./artemis producer --verbose --user admin --password admin --destination queue://Queue1 --message-count 1 --url tcp://localhost:61616 --protocol amqp
      

      3. The message will only be redelivered once and will stay in the Queue1

      4. If we send a message with core protocol it works as expected and messages are moved to DLQ

      ./artemis producer --verbose --user admin --password admin --destination queue://Queue1 --message-count 1 --url tcp://localhost:61616 
      
      Show
      1. Start a camel route using the attached camel-context.xml 2. Send a message using amqp protocol ./artemis producer --verbose --user admin --password admin --destination queue: //Queue1 --message-count 1 --url tcp://localhost:61616 --protocol amqp 3. The message will only be redelivered once and will stay in the Queue1 4. If we send a message with core protocol it works as expected and messages are moved to DLQ ./artemis producer --verbose --user admin --password admin --destination queue: //Queue1 --message-count 1 --url tcp://localhost:61616

    Description

      AMQP messages are not redelivered to Camel-AMQP client

      Posting a message with AMQP protocol in a queue.
      Configured max-delivery-attempts as 3 in broker and jms.redeliveryPolicy.maxRedeliveries=6 in Camel-AMQP.
      So the expected number of redeliveries are 3*6 = 18.

      But the first set of 6 retries only happening and next set of retry is not happening, So the messages are not going to DLQ and message stayed in the queue itself.

      Refer steps to Reproduce for the configuration.

      Attachments

        1. broker.xml
          10 kB
        2. camel-context.xml
          3 kB
        3. Reproducer.zip
          5 kB

        Activity

          People

            rh-ee-ataylor Andy Taylor
            rhn-support-shsingh Shailendra Singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: