Class RabbitMQListener
java.lang.Object
org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerRequestProcessor
org.wso2.carbon.inbound.endpoint.protocol.rabbitmq.RabbitMQListener
- All Implemented Interfaces:
org.apache.synapse.inbound.InboundRequestProcessor
The listener implementation to initialize the RabbitMQ consumer once with inbound parameters.
-
Field Summary
Fields inherited from class org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerRequestProcessor
COMMON_ENDPOINT_POSTFIX, coordination, name, startInPausedMode, startUpController, synapseEnvironment, TASK_THRESHOLD_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerRequestProcessor
activate, deactivate, isDeactivated, pause, start
-
Constructor Details
-
RabbitMQListener
public RabbitMQListener(org.apache.synapse.inbound.InboundProcessorParams params)
-
-
Method Details
-
destroy
public void destroy()Description copied from class:InboundOneTimeTriggerRequestProcessorStop the inbound polling processor This will be called when inbound is undeployed/redeployed or when server stop- Specified by:
destroyin interfaceorg.apache.synapse.inbound.InboundRequestProcessor- Overrides:
destroyin classInboundOneTimeTriggerRequestProcessor
-
init
public void init()
-