public final class Jms
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static JmsMessageChannelSpec<?> |
channel(javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsMessageChannelSpec. |
static JmsMessageChannelSpec<?> |
channel(java.lang.String id,
javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsMessageChannelSpec. |
static JmsDefaultListenerContainerSpec |
container(javax.jms.ConnectionFactory connectionFactory,
javax.jms.Destination destination)
The factory to produce a
JmsListenerContainerSpec. |
static JmsDefaultListenerContainerSpec |
container(javax.jms.ConnectionFactory connectionFactory,
java.lang.String destinationName)
The factory to produce a
JmsListenerContainerSpec. |
static JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware |
inboundAdapter(javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsInboundChannelAdapterSpec. |
static JmsInboundChannelAdapterSpec<?> |
inboundAdapter(org.springframework.jms.core.JmsTemplate jmsTemplate)
The factory to produce a
JmsInboundChannelAdapterSpec. |
static JmsInboundGatewaySpec<?> |
inboundGateway(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
The factory to produce a
JmsOutboundGatewaySpec. |
static JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<JmsDefaultListenerContainerSpec,org.springframework.jms.listener.DefaultMessageListenerContainer> |
inboundGateway(javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsOutboundGatewaySpec. |
static <C extends org.springframework.jms.listener.AbstractMessageListenerContainer> |
inboundGateway(javax.jms.ConnectionFactory connectionFactory,
java.lang.Class<C> containerClass)
The factory to produce a
JmsOutboundGatewaySpec. |
static JmsMessageDrivenChannelAdapterSpec<?> |
messageDrivenChannelAdapter(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
The factory to produce a
JmsMessageDrivenChannelAdapterSpec. |
static JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<JmsDefaultListenerContainerSpec,org.springframework.jms.listener.DefaultMessageListenerContainer> |
messageDrivenChannelAdapter(javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsMessageDrivenChannelAdapterSpec. |
static <C extends org.springframework.jms.listener.AbstractMessageListenerContainer> |
messageDrivenChannelAdapter(javax.jms.ConnectionFactory connectionFactory,
java.lang.Class<C> containerClass)
The factory to produce a
JmsMessageDrivenChannelAdapterSpec. |
static JmsOutboundChannelAdapterSpec.JmsOutboundChannelSpecTemplateAware |
outboundAdapter(javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsOutboundChannelAdapterSpec. |
static JmsOutboundChannelAdapterSpec<?> |
outboundAdapter(org.springframework.jms.core.JmsTemplate jmsTemplate)
The factory to produce a
JmsOutboundChannelAdapterSpec. |
static JmsOutboundGatewaySpec |
outboundGateway(javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsOutboundGatewaySpec. |
static JmsPollableMessageChannelSpec<?> |
pollableChannel(javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsPollableMessageChannelSpec. |
static JmsPollableMessageChannelSpec<?> |
pollableChannel(java.lang.String id,
javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsPollableMessageChannelSpec. |
static JmsPublishSubscribeMessageChannelSpec |
publishSubscribeChannel(javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsPublishSubscribeMessageChannelSpec. |
static JmsPublishSubscribeMessageChannelSpec |
publishSubscribeChannel(java.lang.String id,
javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsPublishSubscribeMessageChannelSpec. |
public static JmsPollableMessageChannelSpec<?> pollableChannel(javax.jms.ConnectionFactory connectionFactory)
JmsPollableMessageChannelSpec.connectionFactory - the JMS ConnectionFactory to build onJmsPollableMessageChannelSpec instancepublic static JmsPollableMessageChannelSpec<?> pollableChannel(java.lang.String id, javax.jms.ConnectionFactory connectionFactory)
JmsPollableMessageChannelSpec.id - the bean name for the target PollableChannel componentconnectionFactory - the JMS ConnectionFactory to build onJmsPollableMessageChannelSpec instancepublic static JmsMessageChannelSpec<?> channel(javax.jms.ConnectionFactory connectionFactory)
JmsMessageChannelSpec.connectionFactory - the JMS ConnectionFactory to build onJmsMessageChannelSpec instancepublic static JmsMessageChannelSpec<?> channel(java.lang.String id, javax.jms.ConnectionFactory connectionFactory)
JmsMessageChannelSpec.id - the bean name for the target MessageChannel componentconnectionFactory - the JMS ConnectionFactory to build onJmsMessageChannelSpec instancepublic static JmsPublishSubscribeMessageChannelSpec publishSubscribeChannel(javax.jms.ConnectionFactory connectionFactory)
JmsPublishSubscribeMessageChannelSpec.connectionFactory - the JMS ConnectionFactory to build onJmsPublishSubscribeMessageChannelSpec instancepublic static JmsPublishSubscribeMessageChannelSpec publishSubscribeChannel(java.lang.String id, javax.jms.ConnectionFactory connectionFactory)
JmsPublishSubscribeMessageChannelSpec.id - the bean name for the target MessageChannel componentconnectionFactory - the JMS ConnectionFactory to build onJmsPublishSubscribeMessageChannelSpec instancepublic static JmsOutboundChannelAdapterSpec<?> outboundAdapter(org.springframework.jms.core.JmsTemplate jmsTemplate)
JmsOutboundChannelAdapterSpec.jmsTemplate - the JmsTemplate to build onJmsOutboundChannelAdapterSpec instancepublic static JmsOutboundChannelAdapterSpec.JmsOutboundChannelSpecTemplateAware outboundAdapter(javax.jms.ConnectionFactory connectionFactory)
JmsOutboundChannelAdapterSpec.connectionFactory - the JMS ConnectionFactory to build onJmsOutboundChannelAdapterSpec instancepublic static JmsInboundChannelAdapterSpec<?> inboundAdapter(org.springframework.jms.core.JmsTemplate jmsTemplate)
JmsInboundChannelAdapterSpec.jmsTemplate - the JmsTemplate to build onJmsInboundChannelAdapterSpec instancepublic static JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware inboundAdapter(javax.jms.ConnectionFactory connectionFactory)
JmsInboundChannelAdapterSpec.connectionFactory - the JMS ConnectionFactory to build onJmsInboundChannelAdapterSpec instancepublic static JmsOutboundGatewaySpec outboundGateway(javax.jms.ConnectionFactory connectionFactory)
JmsOutboundGatewaySpec.connectionFactory - the JMS ConnectionFactory to build onJmsOutboundGatewaySpec instancepublic static JmsInboundGatewaySpec<?> inboundGateway(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
JmsOutboundGatewaySpec.listenerContainer - the JMS AbstractMessageListenerContainer to build onJmsOutboundGatewaySpec instancepublic static JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<JmsDefaultListenerContainerSpec,org.springframework.jms.listener.DefaultMessageListenerContainer> inboundGateway(javax.jms.ConnectionFactory connectionFactory)
JmsOutboundGatewaySpec.connectionFactory - the JMS ConnectionFactory to build onJmsOutboundGatewaySpec instancepublic static <C extends org.springframework.jms.listener.AbstractMessageListenerContainer> JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<?,C> inboundGateway(javax.jms.ConnectionFactory connectionFactory, java.lang.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(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
JmsMessageDrivenChannelAdapterSpec.listenerContainer - the AbstractMessageListenerContainer to build onJmsMessageDrivenChannelAdapterSpec instancepublic static JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<JmsDefaultListenerContainerSpec,org.springframework.jms.listener.DefaultMessageListenerContainer> messageDrivenChannelAdapter(javax.jms.ConnectionFactory connectionFactory)
JmsMessageDrivenChannelAdapterSpec.connectionFactory - the JMS ConnectionFactory to build onJmsMessageDrivenChannelAdapterSpec instancepublic static <C extends org.springframework.jms.listener.AbstractMessageListenerContainer> JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<?,C> messageDrivenChannelAdapter(javax.jms.ConnectionFactory connectionFactory, java.lang.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(javax.jms.ConnectionFactory connectionFactory, javax.jms.Destination destination)
JmsListenerContainerSpec.connectionFactory - the JMS ConnectionFactory to build ondestination - the Destination to listen toJmsListenerContainerSpec instancepublic static JmsDefaultListenerContainerSpec container(javax.jms.ConnectionFactory connectionFactory, java.lang.String destinationName)
JmsListenerContainerSpec.connectionFactory - the JMS ConnectionFactory to build ondestinationName - the destination name to listen toJmsListenerContainerSpec instance