Class OpenWireConnection.CommandProcessor
- java.lang.Object
-
- org.apache.activemq.artemis.core.protocol.openwire.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
-
-
Constructor Summary
Constructors Constructor Description CommandProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AMQConnectionContextgetContext()org.apache.activemq.command.ResponseprocessAddConnection(org.apache.activemq.command.ConnectionInfo info)org.apache.activemq.command.ResponseprocessAddConsumer(org.apache.activemq.command.ConsumerInfo info)org.apache.activemq.command.ResponseprocessAddDestination(org.apache.activemq.command.DestinationInfo dest)org.apache.activemq.command.ResponseprocessAddProducer(org.apache.activemq.command.ProducerInfo info)org.apache.activemq.command.ResponseprocessAddSession(org.apache.activemq.command.SessionInfo info)org.apache.activemq.command.ResponseprocessBeginTransaction(org.apache.activemq.command.TransactionInfo info)org.apache.activemq.command.ResponseprocessBrokerInfo(org.apache.activemq.command.BrokerInfo arg0)org.apache.activemq.command.ResponseprocessBrokerSubscriptionInfo(org.apache.activemq.command.BrokerSubscriptionInfo brokerSubscriptionInfo)org.apache.activemq.command.ResponseprocessCommitTransactionOnePhase(org.apache.activemq.command.TransactionInfo info)org.apache.activemq.command.ResponseprocessCommitTransactionTwoPhase(org.apache.activemq.command.TransactionInfo info)org.apache.activemq.command.ResponseprocessConnectionControl(org.apache.activemq.command.ConnectionControl connectionControl)org.apache.activemq.command.ResponseprocessConnectionError(org.apache.activemq.command.ConnectionError arg0)org.apache.activemq.command.ResponseprocessConsumerControl(org.apache.activemq.command.ConsumerControl consumerControl)org.apache.activemq.command.ResponseprocessControlCommand(org.apache.activemq.command.ControlCommand arg0)org.apache.activemq.command.ResponseprocessEndTransaction(org.apache.activemq.command.TransactionInfo info)org.apache.activemq.command.ResponseprocessFlush(org.apache.activemq.command.FlushCommand arg0)org.apache.activemq.command.ResponseprocessForgetTransaction(org.apache.activemq.command.TransactionInfo info)org.apache.activemq.command.ResponseprocessKeepAlive(org.apache.activemq.command.KeepAliveInfo arg0)org.apache.activemq.command.ResponseprocessMessage(org.apache.activemq.command.Message messageSend)org.apache.activemq.command.ResponseprocessMessageAck(org.apache.activemq.command.MessageAck ack)org.apache.activemq.command.ResponseprocessMessageDispatch(org.apache.activemq.command.MessageDispatch arg0)org.apache.activemq.command.ResponseprocessMessageDispatchNotification(org.apache.activemq.command.MessageDispatchNotification arg0)org.apache.activemq.command.ResponseprocessMessagePull(org.apache.activemq.command.MessagePull arg0)org.apache.activemq.command.ResponseprocessPrepareTransaction(org.apache.activemq.command.TransactionInfo info)org.apache.activemq.command.ResponseprocessProducerAck(org.apache.activemq.command.ProducerAck arg0)org.apache.activemq.command.ResponseprocessRecoverTransactions(org.apache.activemq.command.TransactionInfo info)org.apache.activemq.command.ResponseprocessRemoveConnection(org.apache.activemq.command.ConnectionId id, long lastDeliveredSequenceId)org.apache.activemq.command.ResponseprocessRemoveConsumer(org.apache.activemq.command.ConsumerId id, long lastDeliveredSequenceId)org.apache.activemq.command.ResponseprocessRemoveDestination(org.apache.activemq.command.DestinationInfo info)org.apache.activemq.command.ResponseprocessRemoveProducer(org.apache.activemq.command.ProducerId id)org.apache.activemq.command.ResponseprocessRemoveSession(org.apache.activemq.command.SessionId id, long lastDeliveredSequenceId)org.apache.activemq.command.ResponseprocessRemoveSubscription(org.apache.activemq.command.RemoveSubscriptionInfo subInfo)org.apache.activemq.command.ResponseprocessRollbackTransaction(org.apache.activemq.command.TransactionInfo info)org.apache.activemq.command.ResponseprocessShutdown(org.apache.activemq.command.ShutdownInfo info)org.apache.activemq.command.ResponseprocessWireFormat(org.apache.activemq.command.WireFormatInfo command)
-
-
-
Method Detail
-
getContext
public AMQConnectionContext getContext()
-
processAddConnection
public org.apache.activemq.command.Response processAddConnection(org.apache.activemq.command.ConnectionInfo info) throws java.lang.Exception- Specified by:
processAddConnectionin interfaceorg.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:
processBrokerSubscriptionInfoin interfaceorg.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:
processAddProducerin interfaceorg.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:
processAddConsumerin interfaceorg.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:
processRemoveDestinationin interfaceorg.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:
processRemoveProducerin interfaceorg.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:
processRemoveSessionin interfaceorg.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:
processRemoveSubscriptionin interfaceorg.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:
processRollbackTransactionin interfaceorg.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:
processShutdownin interfaceorg.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:
processWireFormatin interfaceorg.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:
processAddDestinationin interfaceorg.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:
processAddSessionin interfaceorg.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:
processBeginTransactionin interfaceorg.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:
processCommitTransactionOnePhasein interfaceorg.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:
processCommitTransactionTwoPhasein interfaceorg.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:
processForgetTransactionin interfaceorg.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:
processPrepareTransactionin interfaceorg.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:
processEndTransactionin interfaceorg.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:
processBrokerInfoin interfaceorg.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:
processConnectionControlin interfaceorg.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:
processConnectionErrorin interfaceorg.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:
processConsumerControlin interfaceorg.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:
processControlCommandin interfaceorg.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:
processFlushin interfaceorg.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:
processKeepAlivein interfaceorg.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:
processMessagein interfaceorg.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:
processMessageAckin interfaceorg.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:
processMessageDispatchin interfaceorg.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:
processMessageDispatchNotificationin interfaceorg.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:
processMessagePullin interfaceorg.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:
processProducerAckin interfaceorg.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:
processRecoverTransactionsin interfaceorg.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:
processRemoveConnectionin interfaceorg.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:
processRemoveConsumerin interfaceorg.apache.activemq.state.CommandVisitor- Throws:
java.lang.Exception
-
-