org.apache.qpid.server.handler
Class QueueDeclareHandler
java.lang.Object
org.apache.qpid.server.handler.QueueDeclareHandler
- All Implemented Interfaces:
- StateAwareMethodListener<org.apache.qpid.framing.QueueDeclareBody>
public class QueueDeclareHandler
- extends java.lang.Object
- implements StateAwareMethodListener<org.apache.qpid.framing.QueueDeclareBody>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
autoRegister
public boolean autoRegister
QueueDeclareHandler
protected QueueDeclareHandler()
getInstance
public static QueueDeclareHandler getInstance()
methodReceived
public void methodReceived(AMQStateManager stateManager,
QueueRegistry queueRegistry,
ExchangeRegistry exchangeRegistry,
AMQProtocolSession protocolSession,
AMQMethodEvent<org.apache.qpid.framing.QueueDeclareBody> evt)
throws org.apache.qpid.AMQException
- Specified by:
methodReceived
in interface StateAwareMethodListener<org.apache.qpid.framing.QueueDeclareBody>
- Throws:
org.apache.qpid.AMQException
createName
protected java.lang.String createName()
pad
protected static java.lang.String pad(int value)
createQueue
protected AMQQueue createQueue(org.apache.qpid.framing.QueueDeclareBody body,
QueueRegistry registry,
AMQProtocolSession session)
throws org.apache.qpid.AMQException
- Throws:
org.apache.qpid.AMQException