Class JmsOutboundChannelAdapterSpec<S extends JmsOutboundChannelAdapterSpec<S>>

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,​H>
org.springframework.integration.dsl.MessageHandlerSpec<S,​JmsSendingMessageHandler>
org.springframework.integration.jms.dsl.JmsOutboundChannelAdapterSpec<S>
Type Parameters:
S - the target JmsOutboundChannelAdapterSpec 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<JmsSendingMessageHandler>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
Direct Known Subclasses:
JmsOutboundChannelAdapterSpec.JmsOutboundChannelSpecTemplateAware

public class JmsOutboundChannelAdapterSpec<S extends JmsOutboundChannelAdapterSpec<S>>
extends org.springframework.integration.dsl.MessageHandlerSpec<S,​JmsSendingMessageHandler>
A MessageHandlerSpec for a JmsSendingMessageHandler.
Since:
5.0
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  JmsOutboundChannelAdapterSpec.JmsOutboundChannelSpecTemplateAware
    A JmsTemplate-based JmsOutboundChannelAdapterSpec 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 JmsOutboundChannelAdapterSpec​(org.springframework.jms.core.JmsTemplate jmsTemplate)  
  • Method Summary

    Modifier and Type Method Description
    S deliveryModeExpression​(java.lang.String deliveryModeExpression)
    Specify a SpEL expression to evaluate a deliveryMode for JMS message to send.
    <P> S deliveryModeFunction​(java.util.function.Function<org.springframework.messaging.Message<P>,​?> deliveryModeFunction)
    Specify a Function to resolve a deliveryMode for JMS message to send.
    S destination​(java.lang.String destination)
    Configure the name of the destination to which this adapter will send messages.
    <P> S destination​(java.util.function.Function<org.springframework.messaging.Message<P>,​?> destinationFunction)
    Configure a Function that will be invoked at run time to determine the destination to which a message will be sent.
    S destination​(javax.jms.Destination destination)
    Configure the destination to which this adapter will send messages.
    S destinationExpression​(java.lang.String destination)
    Configure a SpEL expression that will evaluate, at run time, the destination to which a message will be sent.
    S extractPayload​(boolean extractPayload)  
    S headerMapper​(JmsHeaderMapper headerMapper)  
    S timeToLiveExpression​(java.lang.String timeToLiveExpression)
    Specify a SpEL expression to evaluate a timeToLive for JMS message to send.
    <P> S timeToLiveFunction​(java.util.function.Function<org.springframework.messaging.Message<P>,​?> timeToLiveFunction)
    Specify a Function to resolve a timeToLive for JMS message to send.

    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