org.apache.synapse.transport.amqp
Class AMQPListener
java.lang.Object
org.apache.synapse.transport.base.AbstractTransportListener
org.apache.synapse.transport.amqp.AMQPListener
- All Implemented Interfaces:
- TransportListener
public class AMQPListener
- extends AbstractTransportListener
| Methods inherited from class org.apache.synapse.transport.base.AbstractTransportListener |
createMessageContext, destroy, disableTransportForService, getActiveThreadCount, getBytesReceived, getBytesSent, getEPRForService, getFaultsReceiving, getFaultsSending, getMessagesReceived, getMessagesSent, getMetricsCollector, getQueueSize, getSessionContext, getTransportName, handleException, handleIncomingMessage, logException, maintenenceShutdown, pause, resume, setTransportName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRANSPORT_NAME
public static final String TRANSPORT_NAME
- See Also:
- Constant Field Values
AMQPListener
public AMQPListener()
init
public void init(ConfigurationContext cfgCtx,
TransportInDescription transportIn)
throws AxisFault
- Description copied from class:
AbstractTransportListener
- Initialize the generic transport. Sets up the transport and the thread pool to be used
for message processing. Also creates an AxisObserver that gets notified of service
life cycle events for the transport to act on
- Specified by:
init in interface TransportListener- Overrides:
init in class AbstractTransportListener
- Parameters:
cfgCtx - the axis configuration contexttransportIn - the transport-in description
- Throws:
AxisFault - on error
start
public void start()
throws AxisFault
- Specified by:
start in interface TransportListener- Overrides:
start in class AbstractTransportListener
- Throws:
AxisFault
stop
public void stop()
throws AxisFault
- Specified by:
stop in interface TransportListener- Overrides:
stop in class AbstractTransportListener
- Throws:
AxisFault
startListeningForService
protected void startListeningForService(AxisService service)
- Specified by:
startListeningForService in class AbstractTransportListener
stopListeningForService
protected void stopListeningForService(AxisService service)
- Specified by:
stopListeningForService in class AbstractTransportListener
getEPRsForService
public EndpointReference[] getEPRsForService(String serviceName,
String ip)
throws AxisFault
- Throws:
AxisFault
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.