Class DefaultMessagePropertiesConverter
- java.lang.Object
-
- org.apache.camel.component.springrabbit.DefaultMessagePropertiesConverter
-
- All Implemented Interfaces:
MessagePropertiesConverter
public class DefaultMessagePropertiesConverter extends Object implements MessagePropertiesConverter
-
-
Constructor Summary
Constructors Constructor Description DefaultMessagePropertiesConverter(org.apache.camel.CamelContext camelContext, org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
fromMessageProperties(org.springframework.amqp.core.MessageProperties messageProperties, org.apache.camel.Exchange exchange)
protected boolean
shouldInputHeader(String headerName, Object headerValue, org.apache.camel.Exchange exchange)
Strategy to allow filtering from RabbitMQ message to Camel messageprotected boolean
shouldOutputHeader(String headerName, Object headerValue, org.apache.camel.Exchange exchange)
Strategy to allow filtering of headers which are put on the RabbitMQ messageorg.springframework.amqp.core.MessageProperties
toMessageProperties(org.apache.camel.Exchange exchange)
-
-
-
Method Detail
-
toMessageProperties
public org.springframework.amqp.core.MessageProperties toMessageProperties(org.apache.camel.Exchange exchange)
- Specified by:
toMessageProperties
in interfaceMessagePropertiesConverter
-
fromMessageProperties
public Map<String,Object> fromMessageProperties(org.springframework.amqp.core.MessageProperties messageProperties, org.apache.camel.Exchange exchange)
- Specified by:
fromMessageProperties
in interfaceMessagePropertiesConverter
-
shouldOutputHeader
protected boolean shouldOutputHeader(String headerName, Object headerValue, org.apache.camel.Exchange exchange)
Strategy to allow filtering of headers which are put on the RabbitMQ message
-
-