Trying to consume from rabbitmq using the camel-rabbitmq component and the
problem is the body of the message is not being passed down the line.
Debugging and looking at the source, I see that in
RabbitMQConsumer.RabbitConsumer.handleDelivery that the body is being passed
into the method, but nothing is done with that parameter.
An exchange is created from the envelope in
RabbitMQEndPoint.createRabbitExchange, that contains a DefaultMessage
instance for the in, but the only things set on the message are the routing
key, exchange name, and delivery tag headers. The body of the message is not
set and is therefore null.
problem is the body of the message is not being passed down the line.
Debugging and looking at the source, I see that in
RabbitMQConsumer.RabbitConsumer.handleDelivery that the body is being passed
into the method, but nothing is done with that parameter.
An exchange is created from the envelope in
RabbitMQEndPoint.createRabbitExchange, that contains a DefaultMessage
instance for the in, but the only things set on the message are the routing
key, exchange name, and delivery tag headers. The body of the message is not
set and is therefore null.