Class DefaultMessagePropertiesConverter
java.lang.Object
org.apache.camel.component.springrabbit.DefaultMessagePropertiesConverter
- All Implemented Interfaces:
MessagePropertiesConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromMessageProperties(org.springframework.amqp.core.MessageProperties messageProperties, org.apache.camel.Exchange exchange) voidsetHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) protected booleanshouldInputHeader(String headerName, Object headerValue, org.apache.camel.Exchange exchange) Strategy to allow filtering from RabbitMQ message to Camel messageprotected booleanshouldOutputHeader(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.MessagePropertiestoMessageProperties(org.apache.camel.Exchange exchange)
-
Constructor Details
-
DefaultMessagePropertiesConverter
public DefaultMessagePropertiesConverter()
-
-
Method Details
-
toMessageProperties
public org.springframework.amqp.core.MessageProperties toMessageProperties(org.apache.camel.Exchange exchange) - Specified by:
toMessagePropertiesin interfaceMessagePropertiesConverter
-
fromMessageProperties
public Map<String,Object> fromMessageProperties(org.springframework.amqp.core.MessageProperties messageProperties, org.apache.camel.Exchange exchange) - Specified by:
fromMessagePropertiesin interfaceMessagePropertiesConverter
-
setHeaderFilterStrategy
public void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) - Specified by:
setHeaderFilterStrategyin 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
-