Class OpenWireConnection.CommandProcessor

  • All Implemented Interfaces:
    org.apache.activemq.state.CommandVisitor
    Enclosing class:
    OpenWireConnection

    public class OpenWireConnection.CommandProcessor
    extends java.lang.Object
    implements org.apache.activemq.state.CommandVisitor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AMQConnectionContext getContext()  
      org.apache.activemq.command.Response processAddConnection​(org.apache.activemq.command.ConnectionInfo info)  
      org.apache.activemq.command.Response processAddConsumer​(org.apache.activemq.command.ConsumerInfo info)  
      org.apache.activemq.command.Response processAddDestination​(org.apache.activemq.command.DestinationInfo dest)  
      org.apache.activemq.command.Response processAddProducer​(org.apache.activemq.command.ProducerInfo info)  
      org.apache.activemq.command.Response processAddSession​(org.apache.activemq.command.SessionInfo info)  
      org.apache.activemq.command.Response processBeginTransaction​(org.apache.activemq.command.TransactionInfo info)  
      org.apache.activemq.command.Response processBrokerInfo​(org.apache.activemq.command.BrokerInfo arg0)  
      org.apache.activemq.command.Response processBrokerSubscriptionInfo​(org.apache.activemq.command.BrokerSubscriptionInfo brokerSubscriptionInfo)  
      org.apache.activemq.command.Response processCommitTransactionOnePhase​(org.apache.activemq.command.TransactionInfo info)  
      org.apache.activemq.command.Response processCommitTransactionTwoPhase​(org.apache.activemq.command.TransactionInfo info)  
      org.apache.activemq.command.Response processConnectionControl​(org.apache.activemq.command.ConnectionControl connectionControl)  
      org.apache.activemq.command.Response processConnectionError​(org.apache.activemq.command.ConnectionError arg0)  
      org.apache.activemq.command.Response processConsumerControl​(org.apache.activemq.command.ConsumerControl consumerControl)  
      org.apache.activemq.command.Response processControlCommand​(org.apache.activemq.command.ControlCommand arg0)  
      org.apache.activemq.command.Response processEndTransaction​(org.apache.activemq.command.TransactionInfo info)  
      org.apache.activemq.command.Response processFlush​(org.apache.activemq.command.FlushCommand arg0)  
      org.apache.activemq.command.Response processForgetTransaction​(org.apache.activemq.command.TransactionInfo info)  
      org.apache.activemq.command.Response processKeepAlive​(org.apache.activemq.command.KeepAliveInfo arg0)  
      org.apache.activemq.command.Response processMessage​(org.apache.activemq.command.Message messageSend)  
      org.apache.activemq.command.Response processMessageAck​(org.apache.activemq.command.MessageAck ack)  
      org.apache.activemq.command.Response processMessageDispatch​(org.apache.activemq.command.MessageDispatch arg0)  
      org.apache.activemq.command.Response processMessageDispatchNotification​(org.apache.activemq.command.MessageDispatchNotification arg0)  
      org.apache.activemq.command.Response processMessagePull​(org.apache.activemq.command.MessagePull arg0)  
      org.apache.activemq.command.Response processPrepareTransaction​(org.apache.activemq.command.TransactionInfo info)  
      org.apache.activemq.command.Response processProducerAck​(org.apache.activemq.command.ProducerAck arg0)  
      org.apache.activemq.command.Response processRecoverTransactions​(org.apache.activemq.command.TransactionInfo info)  
      org.apache.activemq.command.Response processRemoveConnection​(org.apache.activemq.command.ConnectionId id, long lastDeliveredSequenceId)  
      org.apache.activemq.command.Response processRemoveConsumer​(org.apache.activemq.command.ConsumerId id, long lastDeliveredSequenceId)  
      org.apache.activemq.command.Response processRemoveDestination​(org.apache.activemq.command.DestinationInfo info)  
      org.apache.activemq.command.Response processRemoveProducer​(org.apache.activemq.command.ProducerId id)  
      org.apache.activemq.command.Response processRemoveSession​(org.apache.activemq.command.SessionId id, long lastDeliveredSequenceId)  
      org.apache.activemq.command.Response processRemoveSubscription​(org.apache.activemq.command.RemoveSubscriptionInfo subInfo)  
      org.apache.activemq.command.Response processRollbackTransaction​(org.apache.activemq.command.TransactionInfo info)  
      org.apache.activemq.command.Response processShutdown​(org.apache.activemq.command.ShutdownInfo info)  
      org.apache.activemq.command.Response processWireFormat​(org.apache.activemq.command.WireFormatInfo command)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CommandProcessor

        public CommandProcessor()
    • Method Detail

      • processAddConnection

        public org.apache.activemq.command.Response processAddConnection​(org.apache.activemq.command.ConnectionInfo info)
                                                                  throws java.lang.Exception
        Specified by:
        processAddConnection in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processBrokerSubscriptionInfo

        public org.apache.activemq.command.Response processBrokerSubscriptionInfo​(org.apache.activemq.command.BrokerSubscriptionInfo brokerSubscriptionInfo)
                                                                           throws java.lang.Exception
        Specified by:
        processBrokerSubscriptionInfo in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processAddProducer

        public org.apache.activemq.command.Response processAddProducer​(org.apache.activemq.command.ProducerInfo info)
                                                                throws java.lang.Exception
        Specified by:
        processAddProducer in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processAddConsumer

        public org.apache.activemq.command.Response processAddConsumer​(org.apache.activemq.command.ConsumerInfo info)
                                                                throws java.lang.Exception
        Specified by:
        processAddConsumer in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processRemoveDestination

        public org.apache.activemq.command.Response processRemoveDestination​(org.apache.activemq.command.DestinationInfo info)
                                                                      throws java.lang.Exception
        Specified by:
        processRemoveDestination in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processRemoveProducer

        public org.apache.activemq.command.Response processRemoveProducer​(org.apache.activemq.command.ProducerId id)
                                                                   throws java.lang.Exception
        Specified by:
        processRemoveProducer in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processRemoveSession

        public org.apache.activemq.command.Response processRemoveSession​(org.apache.activemq.command.SessionId id,
                                                                         long lastDeliveredSequenceId)
                                                                  throws java.lang.Exception
        Specified by:
        processRemoveSession in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processRemoveSubscription

        public org.apache.activemq.command.Response processRemoveSubscription​(org.apache.activemq.command.RemoveSubscriptionInfo subInfo)
                                                                       throws java.lang.Exception
        Specified by:
        processRemoveSubscription in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processRollbackTransaction

        public org.apache.activemq.command.Response processRollbackTransaction​(org.apache.activemq.command.TransactionInfo info)
                                                                        throws java.lang.Exception
        Specified by:
        processRollbackTransaction in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processShutdown

        public org.apache.activemq.command.Response processShutdown​(org.apache.activemq.command.ShutdownInfo info)
                                                             throws java.lang.Exception
        Specified by:
        processShutdown in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processWireFormat

        public org.apache.activemq.command.Response processWireFormat​(org.apache.activemq.command.WireFormatInfo command)
                                                               throws java.lang.Exception
        Specified by:
        processWireFormat in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processAddDestination

        public org.apache.activemq.command.Response processAddDestination​(org.apache.activemq.command.DestinationInfo dest)
                                                                   throws java.lang.Exception
        Specified by:
        processAddDestination in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processAddSession

        public org.apache.activemq.command.Response processAddSession​(org.apache.activemq.command.SessionInfo info)
                                                               throws java.lang.Exception
        Specified by:
        processAddSession in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processBeginTransaction

        public org.apache.activemq.command.Response processBeginTransaction​(org.apache.activemq.command.TransactionInfo info)
                                                                     throws java.lang.Exception
        Specified by:
        processBeginTransaction in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processCommitTransactionOnePhase

        public org.apache.activemq.command.Response processCommitTransactionOnePhase​(org.apache.activemq.command.TransactionInfo info)
                                                                              throws java.lang.Exception
        Specified by:
        processCommitTransactionOnePhase in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processCommitTransactionTwoPhase

        public org.apache.activemq.command.Response processCommitTransactionTwoPhase​(org.apache.activemq.command.TransactionInfo info)
                                                                              throws java.lang.Exception
        Specified by:
        processCommitTransactionTwoPhase in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processForgetTransaction

        public org.apache.activemq.command.Response processForgetTransaction​(org.apache.activemq.command.TransactionInfo info)
                                                                      throws java.lang.Exception
        Specified by:
        processForgetTransaction in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processPrepareTransaction

        public org.apache.activemq.command.Response processPrepareTransaction​(org.apache.activemq.command.TransactionInfo info)
                                                                       throws java.lang.Exception
        Specified by:
        processPrepareTransaction in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processEndTransaction

        public org.apache.activemq.command.Response processEndTransaction​(org.apache.activemq.command.TransactionInfo info)
                                                                   throws java.lang.Exception
        Specified by:
        processEndTransaction in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processBrokerInfo

        public org.apache.activemq.command.Response processBrokerInfo​(org.apache.activemq.command.BrokerInfo arg0)
                                                               throws java.lang.Exception
        Specified by:
        processBrokerInfo in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processConnectionControl

        public org.apache.activemq.command.Response processConnectionControl​(org.apache.activemq.command.ConnectionControl connectionControl)
                                                                      throws java.lang.Exception
        Specified by:
        processConnectionControl in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processConnectionError

        public org.apache.activemq.command.Response processConnectionError​(org.apache.activemq.command.ConnectionError arg0)
                                                                    throws java.lang.Exception
        Specified by:
        processConnectionError in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processConsumerControl

        public org.apache.activemq.command.Response processConsumerControl​(org.apache.activemq.command.ConsumerControl consumerControl)
                                                                    throws java.lang.Exception
        Specified by:
        processConsumerControl in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processControlCommand

        public org.apache.activemq.command.Response processControlCommand​(org.apache.activemq.command.ControlCommand arg0)
                                                                   throws java.lang.Exception
        Specified by:
        processControlCommand in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processFlush

        public org.apache.activemq.command.Response processFlush​(org.apache.activemq.command.FlushCommand arg0)
                                                          throws java.lang.Exception
        Specified by:
        processFlush in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processKeepAlive

        public org.apache.activemq.command.Response processKeepAlive​(org.apache.activemq.command.KeepAliveInfo arg0)
                                                              throws java.lang.Exception
        Specified by:
        processKeepAlive in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processMessage

        public org.apache.activemq.command.Response processMessage​(org.apache.activemq.command.Message messageSend)
                                                            throws java.lang.Exception
        Specified by:
        processMessage in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processMessageAck

        public org.apache.activemq.command.Response processMessageAck​(org.apache.activemq.command.MessageAck ack)
                                                               throws java.lang.Exception
        Specified by:
        processMessageAck in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processMessageDispatch

        public org.apache.activemq.command.Response processMessageDispatch​(org.apache.activemq.command.MessageDispatch arg0)
                                                                    throws java.lang.Exception
        Specified by:
        processMessageDispatch in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processMessageDispatchNotification

        public org.apache.activemq.command.Response processMessageDispatchNotification​(org.apache.activemq.command.MessageDispatchNotification arg0)
                                                                                throws java.lang.Exception
        Specified by:
        processMessageDispatchNotification in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processMessagePull

        public org.apache.activemq.command.Response processMessagePull​(org.apache.activemq.command.MessagePull arg0)
                                                                throws java.lang.Exception
        Specified by:
        processMessagePull in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processProducerAck

        public org.apache.activemq.command.Response processProducerAck​(org.apache.activemq.command.ProducerAck arg0)
                                                                throws java.lang.Exception
        Specified by:
        processProducerAck in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processRecoverTransactions

        public org.apache.activemq.command.Response processRecoverTransactions​(org.apache.activemq.command.TransactionInfo info)
                                                                        throws java.lang.Exception
        Specified by:
        processRecoverTransactions in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processRemoveConnection

        public org.apache.activemq.command.Response processRemoveConnection​(org.apache.activemq.command.ConnectionId id,
                                                                            long lastDeliveredSequenceId)
                                                                     throws java.lang.Exception
        Specified by:
        processRemoveConnection in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception
      • processRemoveConsumer

        public org.apache.activemq.command.Response processRemoveConsumer​(org.apache.activemq.command.ConsumerId id,
                                                                          long lastDeliveredSequenceId)
                                                                   throws java.lang.Exception
        Specified by:
        processRemoveConsumer in interface org.apache.activemq.state.CommandVisitor
        Throws:
        java.lang.Exception