Class JmsInboundChannelAdapterSpec<S extends JmsInboundChannelAdapterSpec<S>>

Type Parameters:
S - the target JmsInboundChannelAdapterSpec implementation type.
All Implemented Interfaces:
Aware, BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<JmsDestinationPollingSource>, InitializingBean, Lifecycle, Phased, SmartLifecycle
Direct Known Subclasses:
JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware

public class JmsInboundChannelAdapterSpec<S extends JmsInboundChannelAdapterSpec<S>> extends MessageSourceSpec<S,JmsDestinationPollingSource>
Since:
5.0
Author:
Artem Bilan
  • Field Details

  • Constructor Details

    • JmsInboundChannelAdapterSpec

      protected JmsInboundChannelAdapterSpec(JmsTemplate jmsTemplate)
  • Method Details

    • messageSelector

      public S messageSelector(String messageSelector)
      Parameters:
      messageSelector - the messageSelector.
      Returns:
      the spec.
      See Also:
    • headerMapper

      public S headerMapper(JmsHeaderMapper headerMapper)
      Configure a JmsHeaderMapper to map from JMS headers and properties to Spring Integration headers.
      Parameters:
      headerMapper - the headerMapper.
      Returns:
      the spec.
    • destination

      public S destination(Destination destination)
      Configure the destination from which to receive messages.
      Parameters:
      destination - the destination.
      Returns:
      the spec.
    • destination

      public S destination(String destination)
      Configure the name of destination from which to receive messages.
      Parameters:
      destination - the destination.
      Returns:
      the spec.