Red Hat Bugzilla – Bug 805607
HornetQ - Undeploying of ESB archive causes undelivered messages
Last modified: 2015-03-12 07:24:41 EDT
I have deployed esb aware and unaware (gateway) queues. Then I deploy Failover1.esb. I run standard JMS client and send 1000 messages to the gateway queue. Before all messages are delivered I undeploy the ESB and later deploy again. The messages are not consumed by the application after it is deployed again (see attached application and logs, from logs it can be seen that only 950 messages are processed by the ESB).
Created attachment 571772 [details]
Deployments and logfiles
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Undeploying ESB archives when using HornetQ can interfere with the delivery of messages. If you are sending messages to be processed by the gateway queue and undeploy the ESB before it has finished, the messages will not be sent automatically when you redeploy it.