WebLogic Messaging API Class Library

IMessage. Method 

Acknowledges all consumed messages of the session of this consumed message.

All consumed JMS messages support the Acknowledge method for use when a client has specified that its JMS session's consumed messages are to be explicitly acknowledged. By invoking Acknowledge on a consumed message, a client acknowledges all messages consumed by the session that the message was delivered to.

Calls to Acknowledge are ignored for both transacted sessions and sessions specified to use implicit acknowledgement modes.

A client may individually Acknowledge each message as it is consumed, or it may choose to Acknowledge messages as an application-defined group (which is done by calling Acknowledge on the last received message of the group, thereby acknowledging all messages consumed by the session.)

Messages that have been received but not acknowledged may be redelivered.

void ();

Exceptions

Exception TypeCondition
MessageExceptionif the JMS provider fails to Acknowledge the messages due to some internal error.
IllegalStateExceptionif this method is called on a closed session.

See Also

IMessage Interface | WebLogic.Messaging Namespace | CLIENT_ACKNOWLEDGE