Class DefaultMessagePropertiesConverter

java.lang.Object
org.apache.camel.component.springrabbit.DefaultMessagePropertiesConverter
All Implemented Interfaces:
MessagePropertiesConverter

public class DefaultMessagePropertiesConverter extends Object implements MessagePropertiesConverter
  • Constructor Details

    • DefaultMessagePropertiesConverter

      public DefaultMessagePropertiesConverter(org.apache.camel.CamelContext camelContext, org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
  • Method Details

    • toMessageProperties

      public org.springframework.amqp.core.MessageProperties toMessageProperties(org.apache.camel.Exchange exchange)
      Specified by:
      toMessageProperties in interface MessagePropertiesConverter
    • fromMessageProperties

      public Map<String,Object> fromMessageProperties(org.springframework.amqp.core.MessageProperties messageProperties, org.apache.camel.Exchange exchange)
      Specified by:
      fromMessageProperties in interface MessagePropertiesConverter
    • 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