Class JmsInboundChannelAdapterSpec<S extends JmsInboundChannelAdapterSpec<S>>

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageSourceSpec<S,JmsDestinationPollingSource>
org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpec<S>
Type Parameters:
S - the target JmsInboundChannelAdapterSpec implementation type.
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<JmsDestinationPollingSource>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
Direct Known Subclasses:
JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware

public class JmsInboundChannelAdapterSpec<S extends JmsInboundChannelAdapterSpec<S>> extends org.springframework.integration.dsl.MessageSourceSpec<S,JmsDestinationPollingSource>
A MessageSourceSpec for a JmsDestinationPollingSource.
Since:
5.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    A JmsTemplate-based JmsInboundChannelAdapterSpec extension.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final JmsTemplateSpec
     

    Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    PARSER, target

    Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    logger

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    JmsInboundChannelAdapterSpec(org.springframework.jms.core.JmsTemplate jmsTemplate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    destination(jakarta.jms.Destination destination)
    Configure the destination from which to receive messages.
    destination(String destination)
    Configure the name of destination from which to receive messages.
    Configure a JmsHeaderMapper to map from JMS headers and properties to Spring Integration headers.
    messageSelector(String messageSelector)
     

    Methods inherited from class org.springframework.integration.dsl.MessageSourceSpec

    messageHeaders

    Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec

    _this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop

    Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • JmsInboundChannelAdapterSpec

      protected JmsInboundChannelAdapterSpec(org.springframework.jms.core.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(jakarta.jms.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.