getAcknowledgeMode

 

public int getAcknowledgeMode() throws JMSException;

Gets the acknowledgement mode of the session. The acknowledgement mode is set at the time that the session is created. If the session is transacted, the acknowledgement mode is ignored.

Returns

  • the current acknowledgement mode for the session if the session is not transacted. Otherwise returns SESSION_TRANSACTED.


uj30270_