public class AmqpConnectionSession extends AmqpSession
closeRequest, closeTimeoutTask| Constructor and Description |
|---|
AmqpConnectionSession(AmqpConnection connection,
JmsSessionInfo info,
org.apache.qpid.proton.engine.Session session)
Create a new instance of a Connection owned Session object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChildResource(AmqpResource resource)
Adds the given resource as a child of this resource so that it's
lifetime becomes managed by that of its parent.
|
void |
handleResourceClosure(AmqpProvider provider,
ProviderException cause) |
void |
unsubscribe(String subscriptionName,
boolean hasClientID,
AsyncResult request)
Used to remove an existing durable topic subscription from the remote broker.
|
acknowledge, begin, commit, createConsumer, createProducer, getConnection, getConsumer, getProducer, getProvider, getSessionId, getTransactionContext, isTransactionFailed, recover, removeChildResource, reportError, rollback, schedule, toStringclose, closeOrDetachEndpoint, closeResource, getEndpoint, getLocalState, getParent, getRemoteState, getResourceInfo, isAwaitingClose, isClosed, isOpen, processDeliveryUpdates, processFlowUpdates, processRemoteClose, processRemoteDetach, processRemoteOpenpublic AmqpConnectionSession(AmqpConnection connection, JmsSessionInfo info, org.apache.qpid.proton.engine.Session session)
connection - the connection that owns this session.info - the JmsSessionInfo for the Session to create.session - the Proton session instance that this resource wraps.public void unsubscribe(String subscriptionName, boolean hasClientID, AsyncResult request)
subscriptionName - the subscription name that is to be removed.hasClientID - whether the connection has a clientID set.request - the request that awaits the completion of this action.public void addChildResource(AmqpResource resource)
AmqpResourceParentaddChildResource in interface AmqpResourceParentaddChildResource in class AmqpSessionresource - The AmqpResource that is a child of this one.public void handleResourceClosure(AmqpProvider provider, ProviderException cause)
handleResourceClosure in class AmqpSessionCopyright © 2013–2019 The Apache Software Foundation. All rights reserved.