createQueueSession
public QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws JMSException;
Creates an MQQueueSession object.
- Parameters
- transacted - indicates whether the session is transacted
- acknowledgeMode - indicates whether the consumer or the client will acknowledge any messages it receives; ignored if the session is transacted. Legal values are Session.AUTO_ACKNOWLEDGE, Session.CLIENT_ACKNOWLEDGE, and Session.DUPS_OK_ACKNOWLEDGE.
- Returns
- a newly created queue session.
- Exceptions
- JMSException - if JMS Provider fails to create an MQQueueSession due to an internal error.
uj29740_