Class RabbitMQInjectHandler
java.lang.Object
org.wso2.carbon.inbound.endpoint.protocol.rabbitmq.RabbitMQInjectHandler
The received messages will be injected into the sequence for the mediation.
-
Constructor Summary
ConstructorsConstructorDescriptionRabbitMQInjectHandler(String injectingSeq, String onErrorSeq, boolean sequential, org.apache.synapse.core.SynapseEnvironment synapseEnvironment) -
Method Summary
Modifier and TypeMethodDescriptionDetermine the message builder to use, set the message payload to the message context and inject the message.
-
Constructor Details
-
RabbitMQInjectHandler
-
-
Method Details
-
onMessage
public AcknowledgementMode onMessage(com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body, String inboundName) Determine the message builder to use, set the message payload to the message context and inject the message.- Parameters:
properties- the AMQP basic propertiesbody- the message bodyinboundName- Inbound Name- Returns:
- delivery status of the message
-