public final class Jms extends Object
public static JmsPollableMessageChannelSpec<?> pollableChannel(ConnectionFactory connectionFactory)
JmsPollableMessageChannelSpec.connectionFactory - the JMS ConnectionFactory to build onJmsPollableMessageChannelSpec instancepublic static JmsPollableMessageChannelSpec<?> pollableChannel(@Nullable String id, ConnectionFactory connectionFactory)
JmsPollableMessageChannelSpec.id - the bean name for the target PollableChannel componentconnectionFactory - the JMS ConnectionFactory to build onJmsPollableMessageChannelSpec instancepublic static JmsMessageChannelSpec<?> channel(ConnectionFactory connectionFactory)
JmsMessageChannelSpec.connectionFactory - the JMS ConnectionFactory to build onJmsMessageChannelSpec instancepublic static JmsMessageChannelSpec<?> channel(@Nullable String id, ConnectionFactory connectionFactory)
JmsMessageChannelSpec.id - the bean name for the target MessageChannel componentconnectionFactory - the JMS ConnectionFactory to build onJmsMessageChannelSpec instancepublic static JmsPublishSubscribeMessageChannelSpec publishSubscribeChannel(ConnectionFactory connectionFactory)
JmsPublishSubscribeMessageChannelSpec.connectionFactory - the JMS ConnectionFactory to build onJmsPublishSubscribeMessageChannelSpec instancepublic static JmsPublishSubscribeMessageChannelSpec publishSubscribeChannel(@Nullable String id, ConnectionFactory connectionFactory)
JmsPublishSubscribeMessageChannelSpec.id - the bean name for the target MessageChannel componentconnectionFactory - the JMS ConnectionFactory to build onJmsPublishSubscribeMessageChannelSpec instancepublic static JmsOutboundChannelAdapterSpec<?> outboundAdapter(JmsTemplate jmsTemplate)
JmsOutboundChannelAdapterSpec.jmsTemplate - the JmsTemplate to build onJmsOutboundChannelAdapterSpec instancepublic static JmsOutboundChannelAdapterSpec.JmsOutboundChannelSpecTemplateAware outboundAdapter(ConnectionFactory connectionFactory)
JmsOutboundChannelAdapterSpec.connectionFactory - the JMS ConnectionFactory to build onJmsOutboundChannelAdapterSpec instancepublic static JmsInboundChannelAdapterSpec<?> inboundAdapter(JmsTemplate jmsTemplate)
JmsInboundChannelAdapterSpec.jmsTemplate - the JmsTemplate to build onJmsInboundChannelAdapterSpec instancepublic static JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware inboundAdapter(ConnectionFactory connectionFactory)
JmsInboundChannelAdapterSpec.connectionFactory - the JMS ConnectionFactory to build onJmsInboundChannelAdapterSpec instancepublic static JmsOutboundGatewaySpec outboundGateway(ConnectionFactory connectionFactory)
JmsOutboundGatewaySpec.connectionFactory - the JMS ConnectionFactory to build onJmsOutboundGatewaySpec instancepublic static JmsInboundGatewaySpec<?> inboundGateway(AbstractMessageListenerContainer listenerContainer)
JmsOutboundGatewaySpec.listenerContainer - the JMS AbstractMessageListenerContainer to build onJmsOutboundGatewaySpec instancepublic static JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<JmsDefaultListenerContainerSpec,DefaultMessageListenerContainer> inboundGateway(ConnectionFactory connectionFactory)
JmsOutboundGatewaySpec.connectionFactory - the JMS ConnectionFactory to build onJmsOutboundGatewaySpec instancepublic static <C extends AbstractMessageListenerContainer> JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<?,C> inboundGateway(ConnectionFactory connectionFactory, Class<C> containerClass)
JmsOutboundGatewaySpec.C - the AbstractMessageListenerContainer inheritor typeconnectionFactory - the JMS ConnectionFactory to build oncontainerClass - the AbstractMessageListenerContainer implementation class
to instantiate listener containerJmsOutboundGatewaySpec instancepublic static JmsMessageDrivenChannelAdapterSpec<?> messageDrivenChannelAdapter(JmsListenerContainerSpec<?,? extends AbstractMessageListenerContainer> jmsListenerContainerSpec)
JmsMessageDrivenChannelAdapterSpec.jmsListenerContainerSpec - the JmsListenerContainerSpec to build onJmsMessageDrivenChannelAdapterSpec instancepublic static JmsMessageDrivenChannelAdapterSpec<?> messageDrivenChannelAdapter(AbstractMessageListenerContainer listenerContainer)
JmsMessageDrivenChannelAdapterSpec.listenerContainer - the AbstractMessageListenerContainer to build onJmsMessageDrivenChannelAdapterSpec instancepublic static JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<JmsDefaultListenerContainerSpec,DefaultMessageListenerContainer> messageDrivenChannelAdapter(ConnectionFactory connectionFactory)
JmsMessageDrivenChannelAdapterSpec.connectionFactory - the JMS ConnectionFactory to build onJmsMessageDrivenChannelAdapterSpec instancepublic static <C extends AbstractMessageListenerContainer> JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<?,C> messageDrivenChannelAdapter(ConnectionFactory connectionFactory, Class<C> containerClass)
JmsMessageDrivenChannelAdapterSpec.C - the AbstractMessageListenerContainer inheritor typeconnectionFactory - the JMS ConnectionFactory to build oncontainerClass - the AbstractMessageListenerContainer implementation class
to instantiate listener containerJmsMessageDrivenChannelAdapterSpec instancepublic static JmsDefaultListenerContainerSpec container(ConnectionFactory connectionFactory, Destination destination)
JmsListenerContainerSpec.connectionFactory - the JMS ConnectionFactory to build ondestination - the Destination to listen toJmsListenerContainerSpec instancepublic static JmsDefaultListenerContainerSpec container(ConnectionFactory connectionFactory, String destinationName)
JmsListenerContainerSpec.connectionFactory - the JMS ConnectionFactory to build ondestinationName - the destination name to listen toJmsListenerContainerSpec instance