Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-1196

When an AMQP client receives non-persistent messages from a queue, the next portion of non-persistent messages in the queue (amount equals to prefetch size) gets JMSRedelivered=true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • JBoss A-MQ 6.1
    • amqp
    • None
    • Hide

      1. Add to activemq.xml:

       
      <transportConnector name="amqp" uri="amqp://0.0.0.0:5672?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600&amp;transport.prefetch=2"/>
      

      2. start Fuse
      3. using hawtio, for example, send 5 messages.
      4. Consume 1 message, using consumer from https://issues.jboss.org/browse/ENTMQ-792. (Modify that consumer to consume 1 text message)

      mvn -P consume10
      

      5. Check the value of JMSRedelivered header of the second and third messages is now set to 'true'.

      Show
      1. Add to activemq.xml: <transportConnector name= "amqp" uri= "amqp: //0.0.0.0:5672?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600&amp;transport.prefetch=2" /> 2. start Fuse 3. using hawtio, for example, send 5 messages. 4. Consume 1 message, using consumer from https://issues.jboss.org/browse/ENTMQ-792 . (Modify that consumer to consume 1 text message) mvn -P consume10 5. Check the value of JMSRedelivered header of the second and third messages is now set to 'true'.

      Similar to https://issues.jboss.org/browse/ENTMQ-813?focusedCommentId=13017592&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13017592 , but for non-persistent messages.When setting transport.prefetch=2, and consuming 1 non persitent message from the queue, the next 2 messages will get JMSRedelivered=true.That's not a regression of the Rollup 2 patch, as the same behaiviour is in JBoss Fuse (6.1.1.redhat-412).

              Unassigned Unassigned
              emedvede Elena Medvedeva (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: