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
-
-
Constructor Summary
Constructors Constructor Description HornetQClientSessionContext(java.lang.String name, org.apache.activemq.artemis.spi.core.protocol.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 org.apache.activemq.artemis.api.core.client.ClientSession.AddressQueryaddressQuery(org.apache.activemq.artemis.api.core.SimpleString address)org.apache.activemq.artemis.core.client.impl.ClientConsumerInternalcreateConsumer(org.apache.activemq.artemis.api.core.SimpleString queueName, org.apache.activemq.artemis.api.core.SimpleString filterString, int priority, int windowSize, int maxRate, int ackBatchSize, boolean browseOnly, java.util.concurrent.Executor executor, java.util.concurrent.Executor flowControlExecutor)protected org.apache.activemq.artemis.core.protocol.core.impl.wireformat.CreateSessionMessagenewCreateSession(java.lang.String username, java.lang.String password, int minLargeMessageSize, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge)org.apache.activemq.artemis.api.core.client.ClientSession.QueueQueryqueueQuery(org.apache.activemq.artemis.api.core.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
-
-
-
-
Constructor Detail
-
HornetQClientSessionContext
public HornetQClientSessionContext(java.lang.String name, org.apache.activemq.artemis.spi.core.protocol.RemotingConnection remotingConnection, org.apache.activemq.artemis.core.protocol.core.Channel sessionChannel, int serverVersion, int confirmationWindow)
-
-
Method Detail
-
queueQuery
public org.apache.activemq.artemis.api.core.client.ClientSession.QueueQuery queueQuery(org.apache.activemq.artemis.api.core.SimpleString queueName) throws org.apache.activemq.artemis.api.core.ActiveMQException- Overrides:
queueQueryin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext- Throws:
org.apache.activemq.artemis.api.core.ActiveMQException
-
newCreateSession
protected org.apache.activemq.artemis.core.protocol.core.impl.wireformat.CreateSessionMessage newCreateSession(java.lang.String username, java.lang.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 org.apache.activemq.artemis.api.core.client.ClientSession.AddressQuery addressQuery(org.apache.activemq.artemis.api.core.SimpleString address) throws org.apache.activemq.artemis.api.core.ActiveMQException- Overrides:
addressQueryin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext- Throws:
org.apache.activemq.artemis.api.core.ActiveMQException
-
createConsumer
public org.apache.activemq.artemis.core.client.impl.ClientConsumerInternal createConsumer(org.apache.activemq.artemis.api.core.SimpleString queueName, org.apache.activemq.artemis.api.core.SimpleString filterString, int priority, int windowSize, int maxRate, int ackBatchSize, boolean browseOnly, java.util.concurrent.Executor executor, java.util.concurrent.Executor flowControlExecutor) throws org.apache.activemq.artemis.api.core.ActiveMQException- Overrides:
createConsumerin classorg.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext- Throws:
org.apache.activemq.artemis.api.core.ActiveMQException
-
-