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