Class DefaultMessagePropertiesConverter
java.lang.Object
org.apache.camel.component.springrabbit.DefaultMessagePropertiesConverter
- All Implemented Interfaces:
MessagePropertiesConverter
-
Constructor Summary
ConstructorDescriptionDefaultMessagePropertiesConverter
(org.apache.camel.CamelContext camelContext) -
Method Summary
Modifier and TypeMethodDescriptionfromMessageProperties
(org.springframework.amqp.core.MessageProperties messageProperties, org.apache.camel.Exchange exchange) void
setHeaderFilterStrategy
(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) 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)
-
Constructor Details
-
DefaultMessagePropertiesConverter
public DefaultMessagePropertiesConverter(org.apache.camel.CamelContext camelContext)
-
-
Method Details
-
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
-
setHeaderFilterStrategy
public void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) - Specified by:
setHeaderFilterStrategy
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 -
shouldInputHeader
protected boolean shouldInputHeader(String headerName, Object headerValue, org.apache.camel.Exchange exchange) Strategy to allow filtering from RabbitMQ message to Camel message
-