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  JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
    A JmsTemplate-based JmsInboundChannelAdapterSpec extension.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected JmsTemplateSpec 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
    S destination​(java.lang.String destination)
    Configure the name of destination from which to receive messages.
    S destination​(javax.jms.Destination destination)
    Configure the destination from which to receive messages.
    S headerMapper​(JmsHeaderMapper headerMapper)
    Configure a JmsHeaderMapper to map from JMS headers and properties to Spring Integration headers.
    S messageSelector​(java.lang.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

  • Method Details

    • messageSelector

      public S messageSelector​(java.lang.String messageSelector)
      Parameters:
      messageSelector - the messageSelector.
      Returns:
      the spec.
      See Also:
      JmsDestinationPollingSource.setMessageSelector(String)
    • 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​(javax.jms.Destination destination)
      Configure the destination from which to receive messages.
      Parameters:
      destination - the destination.
      Returns:
      the spec.
    • destination

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