public XAQueueSession createXAQueueSession() throws JMSException { return (XAQueueSession) createSession(true, Session.SESSION_TRANSACTED); }
protected ActiveMQConnection createActiveMQConnection(Transport transport, JMSStatsImpl stats) throws Exception { ActiveMQXAConnection connection = new ActiveMQXAConnection(transport, getClientIdGenerator(), getConnectionIdGenerator(), stats); configureXAConnection(connection); return connection; }
public Session createSession(boolean transacted, int acknowledgeMode) throws JMSException { checkClosedOrFailed(); ensureConnectionInfoSent(); return new ActiveMQXASession(this, getNextSessionId(), getAckMode(), isDispatchAsync()); }
private void configureXAConnection(ActiveMQXAConnection connection) { connection.setXaAckMode(xaAckMode); }
private void configureXAConnection(ActiveMQXAConnection connection) { connection.setXaAckMode(xaAckMode); }
public Session createSession(boolean transacted, int acknowledgeMode) throws JMSException { checkClosedOrFailed(); ensureConnectionInfoSent(); return new ActiveMQXASession(this, getNextSessionId(), getAckMode(), isDispatchAsync()); }
public XASession createXASession() throws JMSException { return (XASession) createSession(true, Session.SESSION_TRANSACTED); }
@Override protected ActiveMQConnection createActiveMQConnection(Transport transport, JMSStatsImpl stats) throws Exception { ActiveMQXAConnection connection = new ActiveMQXAConnection(transport, getClientIdGenerator(), getConnectionIdGenerator(), stats); configureXAConnection(connection); return connection; }
private void configureXAConnection(ActiveMQXAConnection connection) { connection.setXaAckMode(xaAckMode); }
public Session createSession(boolean transacted, int acknowledgeMode) throws JMSException { checkClosedOrFailed(); ensureConnectionInfoSent(); return new ActiveMQXASession(this, getNextSessionId(), getAckMode(), isDispatchAsync()); }
public XATopicSession createXATopicSession() throws JMSException { return (XATopicSession) createSession(true, Session.SESSION_TRANSACTED); }
protected ActiveMQConnection createActiveMQConnection(Transport transport, JMSStatsImpl stats) throws Exception { ActiveMQXAConnection connection = new ActiveMQXAConnection(transport, getClientIdGenerator(), stats); return connection; } }
private void configureXAConnection(ActiveMQXAConnection connection) { connection.setXaAckMode(xaAckMode); }
public Session createSession(boolean transacted, int acknowledgeMode) throws JMSException { checkClosedOrFailed(); ensureConnectionInfoSent(); return new ActiveMQXASession(this, getNextSessionId(), getAckMode(), isDispatchAsync()); }
@Override public Session createSession(final int sessionMode) throws JMSException { return super.createSession(sessionMode == Session.SESSION_TRANSACTED, sessionMode); }
@Override protected ActiveMQConnection createActiveMQConnection(Transport transport, JMSStatsImpl stats) throws Exception { ActiveMQXAConnection connection = new ActiveMQXAConnection(transport, getClientIdGenerator(), getConnectionIdGenerator(), stats); configureXAConnection(connection); return connection; }
private void configureXAConnection(ActiveMQXAConnection connection) { connection.setXaAckMode(xaAckMode); }
public Session createSession(boolean transacted, int acknowledgeMode) throws JMSException { checkClosedOrFailed(); ensureConnectionInfoSent(); return new ActiveMQXASession(this, getNextSessionId(), Session.SESSION_TRANSACTED, isDispatchAsync()); } }
public XATopicSession createXATopicSession() throws JMSException { return (XATopicSession) createSession(true, Session.SESSION_TRANSACTED); }
@Override protected ActiveMQConnection createActiveMQConnection(Transport transport, JMSStatsImpl stats) throws Exception { ActiveMQXAConnection connection = new ActiveMQXAConnection(transport, getClientIdGenerator(), getConnectionIdGenerator(), stats); configureXAConnection(connection); return connection; }