No, because message cannot be delivered to closed consumer.
Message consumer cannot be closed before message acknowledgement.
An IllegalStateException will be thrown on close attempt.
No. The acknowledgment would be lost.
Yes. Since message acknowledgment processing is performed at the session level,
it is still relevant after a consumer is closed.
Yes, if there is some other active message consumer.
Yes, message acknowledgment does not depend on the message consumer state.
|