If the broker is closed when a consumer has unacknowledged messages, then these unacknowledged messages may get delivered to other competing consumers before those consumers are themselves closed.
Closing the broker causes it to iterate over all open connections and close each connection in turn. Before closing the connections it should mark them such that they do not attempt any more deliveries.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Summary||[Java Broker] closing the broker may result in same message being delivered to multipl competing consumers||[Java Broker] closing the broker may result in same message being delivered to multiple competing consumers|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|36m 19s||1||Rob Godfrey||25/Jun/13 10:20|
|75d 3h 16m||1||Justin Ross||08/Sep/13 13:37|