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 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, Channel sessionChannel, int serverVersion, int confirmationWindow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientSession.AddressQuery
addressQuery(SimpleString address)
ClientConsumerInternal
createConsumer(SimpleString queueName, SimpleString filterString, int priority, int windowSize, int maxRate, int ackBatchSize, boolean browseOnly, Executor executor, Executor flowControlExecutor)
protected CreateSessionMessage
newCreateSession(String username, String password, int minLargeMessageSize, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge)
ClientSession.QueueQuery
queueQuery(SimpleString queueName)
-
Methods inherited from class org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext
addSessionMetadata, addUniqueMetaData, calcWindowSize, cleanup, closeConsumer, configureTransactionTimeout, createAddress, createAddress, 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, 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, Channel sessionChannel, int serverVersion, int confirmationWindow)
-
-
Method Detail
-
queueQuery
public ClientSession.QueueQuery queueQuery(SimpleString queueName) throws ActiveMQException
- Overrides:
queueQuery
in classActiveMQSessionContext
- Throws:
ActiveMQException
-
newCreateSession
protected CreateSessionMessage newCreateSession(String username, String password, int minLargeMessageSize, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge)
- Overrides:
newCreateSession
in classActiveMQSessionContext
-
addressQuery
public ClientSession.AddressQuery addressQuery(SimpleString address) throws ActiveMQException
- Overrides:
addressQuery
in classActiveMQSessionContext
- Throws:
ActiveMQException
-
createConsumer
public ClientConsumerInternal createConsumer(SimpleString queueName, SimpleString filterString, int priority, int windowSize, int maxRate, int ackBatchSize, boolean browseOnly, Executor executor, Executor flowControlExecutor) throws ActiveMQException
- Overrides:
createConsumer
in classActiveMQSessionContext
- Throws:
ActiveMQException
-
-