Yes, message acknowledgment does not depend on the message consumer state.
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.
Yes, if there is some other active message consumer.
Yes. Since message acknowledgment processing is performed at the session level,
it is still relevant after a consumer is closed.
No. The acknowledgment would be lost.
|