Class ConfigurableCompositeMessageConverter

java.lang.Object
org.springframework.messaging.converter.CompositeMessageConverter
org.springframework.integration.support.converter.ConfigurableCompositeMessageConverter
All Implemented Interfaces:
Aware, BeanFactoryAware, InitializingBean, MessageConverter, SmartMessageConverter

public class ConfigurableCompositeMessageConverter extends CompositeMessageConverter implements BeanFactoryAware, InitializingBean
A CompositeMessageConverter extension with some default MessageConverters which can be overridden with the given converters or added in the end of target converters collection.

The default converts are (declared exactly in this order):

Since:
5.0
Author:
Artem Bilan
  • Constructor Details

    • ConfigurableCompositeMessageConverter

      public ConfigurableCompositeMessageConverter()
      Create an instance with the default converters.
    • ConfigurableCompositeMessageConverter

      public ConfigurableCompositeMessageConverter(Collection<MessageConverter> converters)
      Create an instance with the given converters and without defaults.
      Parameters:
      converters - the converters to use
    • ConfigurableCompositeMessageConverter

      public ConfigurableCompositeMessageConverter(Collection<MessageConverter> converters, boolean registerDefaults)
      Create an instance with the given converters and with defaults in the end.
      Parameters:
      converters - the converters to use
      registerDefaults - register or not default converts
  • Method Details