Class AMQConnectionContext


  • public class AMQConnectionContext
    extends java.lang.Object
    • Constructor Detail

      • AMQConnectionContext

        public AMQConnectionContext()
      • AMQConnectionContext

        public AMQConnectionContext​(org.apache.activemq.filter.MessageEvaluationContext messageEvaluationContext)
      • AMQConnectionContext

        public AMQConnectionContext​(org.apache.activemq.command.ConnectionInfo info)
    • Method Detail

      • getConnection

        public OpenWireConnection getConnection()
        Returns:
        the connection being used
      • setConnection

        public void setConnection​(OpenWireConnection connection)
        Parameters:
        connection - being used
      • isInRecoveryMode

        public boolean isInRecoveryMode()
        Returns:
      • setInRecoveryMode

        public void setInRecoveryMode​(boolean inRecoveryMode)
      • getClientId

        public java.lang.String getClientId()
      • setClientId

        public void setClientId​(java.lang.String clientId)
      • isReconnect

        public boolean isReconnect()
      • setReconnect

        public void setReconnect​(boolean reconnect)
      • getWireFormatInfo

        public org.apache.activemq.command.WireFormatInfo getWireFormatInfo()
      • setWireFormatInfo

        public void setWireFormatInfo​(org.apache.activemq.command.WireFormatInfo wireFormatInfo)
      • getConnectionId

        public org.apache.activemq.command.ConnectionId getConnectionId()
      • setConnectionId

        public void setConnectionId​(org.apache.activemq.command.ConnectionId connectionId)
      • getUserName

        public java.lang.String getUserName()
      • setUserName

        public void setUserName​(java.lang.String userName)
      • getMessageEvaluationContext

        public org.apache.activemq.filter.MessageEvaluationContext getMessageEvaluationContext()
      • getLongTermStoreContext

        public java.lang.Object getLongTermStoreContext()
      • setLongTermStoreContext

        public void setLongTermStoreContext​(java.lang.Object longTermStoreContext)
      • isProducerFlowControl

        public boolean isProducerFlowControl()
      • setProducerFlowControl

        public void setProducerFlowControl​(boolean disableProducerFlowControl)
      • isNetworkConnection

        public boolean isNetworkConnection()
      • setNetworkConnection

        public void setNetworkConnection​(boolean networkConnection)
      • getStopping

        public java.util.concurrent.atomic.AtomicBoolean getStopping()
      • setDontSendReponse

        public void setDontSendReponse​(boolean b)
      • isDontSendReponse

        public boolean isDontSendReponse()
      • isClientMaster

        public boolean isClientMaster()
        Returns:
        the clientMaster
      • setClientMaster

        public void setClientMaster​(boolean clientMaster)
        Parameters:
        clientMaster - the clientMaster to set
      • isFaultTolerant

        public boolean isFaultTolerant()
      • setFaultTolerant

        public void setFaultTolerant​(boolean faultTolerant)
      • setConnectionState

        public void setConnectionState​(org.apache.activemq.state.ConnectionState connectionState)
      • getConnectionState

        public org.apache.activemq.state.ConnectionState getConnectionState()
      • setXid

        public void setXid​(org.apache.activemq.command.XATransactionId id)
      • getXid

        public org.apache.activemq.command.XATransactionId getXid()
      • isAllowLinkStealing

        public boolean isAllowLinkStealing()
      • setLastCommand

        public void setLastCommand​(org.apache.activemq.command.Command lastCommand)
      • getLastCommand

        public org.apache.activemq.command.Command getLastCommand()