Class AMQPSessionContext

    • Constructor Detail

      • AMQPSessionContext

        public AMQPSessionContext​(AMQPSessionCallback sessionSPI,
                                  AMQPConnectionContext connection,
                                  org.apache.qpid.proton.engine.Session session,
                                  org.apache.activemq.artemis.core.server.ActiveMQServer server)
    • Method Detail

      • getSession

        public org.apache.qpid.proton.engine.Session getSession()
      • getServer

        public org.apache.activemq.artemis.core.server.ActiveMQServer getServer()
      • disconnect

        public void disconnect​(Object consumer,
                               String queueName)
        Parameters:
        consumer -
        queueName -
      • getTag

        public byte[] getTag()
      • replaceTag

        public void replaceTag​(byte[] tag)
      • close

        public void close()
      • removeReceiver

        public void removeReceiver​(org.apache.qpid.proton.engine.Receiver receiver)
      • addTransactionHandler

        public void addTransactionHandler​(org.apache.qpid.proton.amqp.transaction.Coordinator coordinator,
                                          org.apache.qpid.proton.engine.Receiver receiver)
      • addFederationEventDispatcher

        public void addFederationEventDispatcher​(org.apache.qpid.proton.engine.Sender sender)
                                          throws Exception
        Throws:
        Exception
      • addSender

        public void addSender​(org.apache.qpid.proton.engine.Sender sender)
                       throws Exception
        Throws:
        Exception
      • addReplicaTarget

        public void addReplicaTarget​(org.apache.qpid.proton.engine.Receiver receiver)
                              throws Exception
        Throws:
        Exception
      • addFederationEventProcessor

        public void addFederationEventProcessor​(org.apache.qpid.proton.engine.Receiver receiver)
                                         throws Exception
        Throws:
        Exception
      • addFederationCommandProcessor

        public void addFederationCommandProcessor​(org.apache.qpid.proton.engine.Receiver receiver)
                                           throws Exception
        Throws:
        Exception
      • addReceiver

        public void addReceiver​(org.apache.qpid.proton.engine.Receiver receiver)
                         throws Exception
        Throws:
        Exception
      • getReceiverCount

        public int getReceiverCount()
      • getSenderCount

        public int getSenderCount()