public class MessageReceiverConsumer
extends com.rabbitmq.client.DefaultConsumer
| Constructor and Description |
|---|
MessageReceiverConsumer(com.rabbitmq.client.Channel channel,
org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AmqpAttributes> sourceCallback,
String inboundEncoding,
String configEncoding,
String inboundContentType,
String configContentType,
InternalAckMode ackMode,
AmqpChannelManager channelManager,
AmqpTransactionalConnection amqpTransactionalConnection,
MultiChannelMessageSubReceiver multiChannelMessageSubReceiver) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(com.rabbitmq.client.Channel channel) |
void |
consume(com.rabbitmq.client.Channel channel) |
void |
handleCancel(String consumerTag) |
void |
handleDelivery(String consumerTag,
com.rabbitmq.client.Envelope envelope,
com.rabbitmq.client.AMQP.BasicProperties properties,
byte[] body) |
void |
handleShutdownSignal(String consumerTag,
com.rabbitmq.client.ShutdownSignalException sig) |
void |
release() |
public MessageReceiverConsumer(com.rabbitmq.client.Channel channel,
org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,AmqpAttributes> sourceCallback,
String inboundEncoding,
String configEncoding,
String inboundContentType,
String configContentType,
InternalAckMode ackMode,
AmqpChannelManager channelManager,
AmqpTransactionalConnection amqpTransactionalConnection,
MultiChannelMessageSubReceiver multiChannelMessageSubReceiver)
public void handleCancel(String consumerTag) throws IOException
handleCancel in interface com.rabbitmq.client.ConsumerhandleCancel in class com.rabbitmq.client.DefaultConsumerIOExceptionpublic void handleShutdownSignal(String consumerTag, com.rabbitmq.client.ShutdownSignalException sig)
handleShutdownSignal in interface com.rabbitmq.client.ConsumerhandleShutdownSignal in class com.rabbitmq.client.DefaultConsumerpublic void handleDelivery(String consumerTag, com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body) throws IOException
handleDelivery in interface com.rabbitmq.client.ConsumerhandleDelivery in class com.rabbitmq.client.DefaultConsumerIOExceptionpublic void consume(com.rabbitmq.client.Channel channel)
throws IOException
IOExceptionpublic void cancel(com.rabbitmq.client.Channel channel)
public void release()
Copyright © 2025 MuleSoft, Inc.. All rights reserved.