Class HornetQClientSessionContext
- java.lang.Object
-
- org.apache.activemq.artemis.spi.core.remoting.SessionContext
-
- org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext
-
- org.apache.activemq.artemis.core.protocol.hornetq.client.HornetQClientSessionContext
-
public class HornetQClientSessionContext extends org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.spi.core.remoting.SessionContext
idGenerator, remotingConnection, sendAckHandler, session
-
-
Constructor Summary
Constructors Constructor Description HornetQClientSessionContext(String name, RemotingConnection remotingConnection, org.apache.activemq.artemis.core.protocol.core.Channel sessionChannel, int serverVersion, int confirmationWindow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientSession.AddressQueryaddressQuery(SimpleString address)org.apache.activemq.artemis.core.client.impl.ClientConsumerInternalcreateConsumer(SimpleString queueName, SimpleString filterString, int priority, int windowSize, int maxRate, int ackBatchSize, boolean browseOnly, Executor executor, Executor flowControlExecutor)protected org.apache.activemq.artemis.core.protocol.core.impl.wireformat.CreateSessionMessagenewCreateSession(String username, String password, int minLargeMessageSize, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge)ClientSession.QueueQueryqueueQuery(SimpleString queueName)-
Methods inherited from class org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext
addSessionMetadata, addUniqueMetaData, calcWindowSize, cleanup, closeConsumer, configureTransactionTimeout, createAddress, createAddress, createProducer, createQueue, createQueue, createQueue, createQueue, createQueue, createSharedQueue, createSharedQueue, createSharedQueue, createSharedQueue, createSharedQueue, deleteQueue, expireMessage, forceDelivery, getConfirmationWindow, getCreditsOnSendingFull, getDefaultConsumerWindowSize, getName, getReconnectID, getSendAcknowledgementHandler, getServerVersion, getSessionChannel, handleReceiveProducerCredits, handleReceiveProducerFailCredits, handleReceiveSlowConsumerKillMessage, isKilled, isWritable, kill, linkFlowControl, lockCommunications, lookupTCCL, reattachOnNewConnection, recoverSessionTimeout, recreateConsumerOnServer, recreateSession, releaseCommunications, removeProducer, resetMetadata, resetName, restartSession, returnBlocking, sendACK, sendConsumerCredits, sendFullMessage, sendInitialChunkOnLargeMessage, sendLargeMessageChunk, sendProducerCreditsMessage, sendServerLargeMessageChunk, sessionClose, sessionStart, sessionStop, setSendAcknowledgementHandler, simpleCommit, simpleCommit, simpleRollback, supportsLargeMessage, transferConnection, xaCommit, xaEnd, xaFailed, xaForget, xaPrepare, xaRollback, xaScan, xaStart
-
Methods inherited from class org.apache.activemq.artemis.spi.core.remoting.SessionContext
getRemotingConnection, getSession, handleReceiveContinuation, handleReceiveLargeMessage, handleReceiveMessage, handleReceiveProducerCredits, handleReceiveProducerFailCredits, setSession
-
-
-
-
Constructor Detail
-
HornetQClientSessionContext
public HornetQClientSessionContext(String name, RemotingConnection remotingConnection, org.apache.activemq.artemis.core.protocol.core.Channel sessionChannel, int serverVersion, int confirmationWindow)
-
-
Method Detail
-
queueQuery
public ClientSession.QueueQuery queueQuery(SimpleString queueName) throws ActiveMQException
- Overrides:
queueQueryin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext- Throws:
ActiveMQException
-
newCreateSession
protected org.apache.activemq.artemis.core.protocol.core.impl.wireformat.CreateSessionMessage newCreateSession(String username, String password, int minLargeMessageSize, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge)
- Overrides:
newCreateSessionin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext
-
addressQuery
public ClientSession.AddressQuery addressQuery(SimpleString address) throws ActiveMQException
- Overrides:
addressQueryin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext- Throws:
ActiveMQException
-
createConsumer
public org.apache.activemq.artemis.core.client.impl.ClientConsumerInternal createConsumer(SimpleString queueName, SimpleString filterString, int priority, int windowSize, int maxRate, int ackBatchSize, boolean browseOnly, Executor executor, Executor flowControlExecutor) throws ActiveMQException
- Overrides:
createConsumerin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext- Throws:
ActiveMQException
-
-