protected class AmqpInboundChannelAdapter.Listener extends Object implements org.springframework.amqp.rabbit.listener.api.ChannelAwareMessageListener
Modifier and Type | Field and Description |
---|---|
protected org.springframework.amqp.support.converter.MessageConverter |
converter |
protected boolean |
manualAcks |
protected org.springframework.retry.RecoveryCallback<?> |
recoverer |
protected org.springframework.retry.RetryOperations |
retryOps |
Modifier | Constructor and Description |
---|---|
protected |
Listener() |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertPayload(org.springframework.amqp.core.Message message) |
protected Message<Object> |
createMessageFromAmqp(org.springframework.amqp.core.Message message,
com.rabbitmq.client.Channel channel) |
protected Message<Object> |
createMessageFromPayload(Object payload,
com.rabbitmq.client.Channel channel,
Map<String,Object> headers,
long deliveryTag,
List<Map<String,Object>> listHeaders) |
void |
onMessage(org.springframework.amqp.core.Message message,
com.rabbitmq.client.Channel channel) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final org.springframework.amqp.support.converter.MessageConverter converter
protected final boolean manualAcks
protected final org.springframework.retry.RetryOperations retryOps
protected final org.springframework.retry.RecoveryCallback<?> recoverer
public void onMessage(org.springframework.amqp.core.Message message, com.rabbitmq.client.Channel channel)
onMessage
in interface org.springframework.amqp.rabbit.listener.api.ChannelAwareMessageListener
protected Message<Object> createMessageFromAmqp(org.springframework.amqp.core.Message message, com.rabbitmq.client.Channel channel)
protected Object convertPayload(org.springframework.amqp.core.Message message)