[
https://issues.apache.org/jira/browse/ARTEMIS-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram resolved ARTEMIS-1818.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.5.1
> Reconnecting core JMS client won't re-create auto-created queue
> ---------------------------------------------------------------
>
> Key: ARTEMIS-1818
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1818
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.5.0
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Fix For: 2.5.1
>
>
> Scenario:
> * Start broker
> * core JMS client sends message to queue
> * broker auto-creates queue & receives message
> * core JMS client creates consumer on queue and consumes the message;
> consumer's connection uses reconnectAttempts=-1
> * stop broker
> * during shutdown the consumer is disconnected and since the message-count is
> already 0 that means the broker will auto-delete the consumer's queue
> * start broker
> * consumer automatically reconnects
> * broker throws an error that the consumer's queue doesn't exist
> * consumer is broken and will not receive any messages
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)