Class 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​(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.AddressQuery addressQuery​(org.apache.activemq.artemis.api.core.SimpleString address)  
      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)  
      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)  
      org.apache.activemq.artemis.api.core.client.ClientSession.QueueQuery queueQuery​(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
      • Methods inherited from class org.apache.activemq.artemis.spi.core.remoting.SessionContext

        getRemotingConnection, getSession, handleReceiveContinuation, handleReceiveLargeMessage, handleReceiveMessage, handleReceiveProducerCredits, handleReceiveProducerFailCredits, setSession
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        queueQuery in class org.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:
        newCreateSession in class org.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:
        addressQuery in class org.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:
        createConsumer in class org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext
        Throws:
        org.apache.activemq.artemis.api.core.ActiveMQException