public class RabbitMQMessageConverter extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
RabbitMQMessageConverter() |
Modifier and Type | Method and Description |
---|---|
com.rabbitmq.client.AMQP.BasicProperties.Builder |
buildProperties(org.apache.camel.Exchange exchange) |
boolean |
isAllowCustomHeaders() |
boolean |
isAllowNullHeaders() |
void |
mergeAmqpProperties(org.apache.camel.Exchange exchange,
com.rabbitmq.client.AMQP.BasicProperties properties)
Will take an
Exchange and add header values back to the
Exchange.getIn() |
void |
populateRabbitExchange(org.apache.camel.Exchange camelExchange,
com.rabbitmq.client.Envelope envelope,
com.rabbitmq.client.AMQP.BasicProperties properties,
byte[] body,
boolean out,
boolean allowMessageBodySerialization) |
void |
setAllowCustomHeaders(boolean allowCustomHeaders) |
void |
setAllowNullHeaders(boolean allowNullHeaders) |
public void mergeAmqpProperties(org.apache.camel.Exchange exchange, com.rabbitmq.client.AMQP.BasicProperties properties)
Exchange
and add header values back to the
Exchange.getIn()
public com.rabbitmq.client.AMQP.BasicProperties.Builder buildProperties(org.apache.camel.Exchange exchange)
public void populateRabbitExchange(org.apache.camel.Exchange camelExchange, com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body, boolean out, boolean allowMessageBodySerialization)
public boolean isAllowNullHeaders()
public void setAllowNullHeaders(boolean allowNullHeaders)
public boolean isAllowCustomHeaders()
public void setAllowCustomHeaders(boolean allowCustomHeaders)
Apache Camel