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

PersistJMSRedelivery can make the message lost after restart

XMLWordPrintable

    • Hide

      1. deploy blueprint
      2. send msg
      3. pkill -9 -f karaf
      4. start broker

      Show
      1. deploy blueprint 2. send msg 3. pkill -9 -f karaf 4. start broker

      Using blueprint file from ENTMQ-540 , I send a message to queue "in" and then kill the broker. After the restart, sometimes the message is lost and I can see following in broker log:

      Duplicate message add attempt rejected. Destination: QUEUE://in, Message id: ID:avano-ThinkPad-T430s-55936-1434452370587-1:1:1:1:1
      

      Without the "<policyEntry ... persistJMSRedelivery=true/>" I'm unable to reproduce this issue.

              gtully@redhat.com Gary Tully
              avano@redhat.com Andrej Vano
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: