public abstract class Jms
extends java.lang.Object
| Constructor and Description |
|---|
Jms() |
| Modifier and Type | Method and Description |
|---|---|
static <S extends JmsMessageChannelSpec<S>> |
channel(javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsMessageChannelSpec |
static <S extends JmsMessageChannelSpec<S>> |
channel(java.lang.String id,
javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsMessageChannelSpec |
static JmsListenerContainerSpec<org.springframework.jms.listener.DefaultMessageListenerContainer> |
container(javax.jms.ConnectionFactory connectionFactory,
javax.jms.Destination destination)
The factory to produce a
JmsListenerContainerSpec |
static JmsListenerContainerSpec<org.springframework.jms.listener.DefaultMessageListenerContainer> |
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 <S extends JmsInboundChannelAdapterSpec<S>> |
inboundAdapter(org.springframework.jms.core.JmsTemplate jmsTemplate)
The factory to produce a
JmsInboundChannelAdapterSpec |
static <S extends JmsInboundGatewaySpec<S>> |
inboundGateway(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
The factory to produce a
JmsOutboundGatewaySpec |
static JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<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 <S extends JmsMessageDrivenChannelAdapterSpec<S>> |
messageDrivenChannelAdapter(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
The factory to produce a
JmsMessageDrivenChannelAdapterSpec |
static JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<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 <S extends JmsMessageDrivenChannelAdapterSpec<S>> |
messageDriverChannelAdapter(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
Deprecated.
|
static JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<org.springframework.jms.listener.DefaultMessageListenerContainer> |
messageDriverChannelAdapter(javax.jms.ConnectionFactory connectionFactory)
Deprecated.
|
static <C extends org.springframework.jms.listener.AbstractMessageListenerContainer> |
messageDriverChannelAdapter(javax.jms.ConnectionFactory connectionFactory,
java.lang.Class<C> containerClass)
Deprecated.
|
static JmsOutboundChannelAdapterSpec.JmsOutboundChannelSpecTemplateAware |
outboundAdapter(javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsOutboundChannelAdapterSpec |
static <S extends JmsOutboundChannelAdapterSpec<S>> |
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 <S extends JmsPollableMessageChannelSpec<S>> |
pollableChannel(javax.jms.ConnectionFactory connectionFactory)
The factory to produce a
JmsPollableMessageChannelSpec |
static <S extends JmsPollableMessageChannelSpec<S>> |
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 <S extends JmsPollableMessageChannelSpec<S>> JmsPollableMessageChannelSpec<S> pollableChannel(javax.jms.ConnectionFactory connectionFactory)
JmsPollableMessageChannelSpecS - the JmsPollableMessageChannelSpec inheritor typeconnectionFactory - the JMS ConnectionFactory to build onJmsPollableMessageChannelSpec instancepublic static <S extends JmsPollableMessageChannelSpec<S>> JmsPollableMessageChannelSpec<S> pollableChannel(java.lang.String id, javax.jms.ConnectionFactory connectionFactory)
JmsPollableMessageChannelSpecS - the JmsPollableMessageChannelSpec inheritor typeid - the bean name for the target PollableChannel componentconnectionFactory - the JMS ConnectionFactory to build onJmsPollableMessageChannelSpec instancepublic static <S extends JmsMessageChannelSpec<S>> JmsMessageChannelSpec<S> channel(javax.jms.ConnectionFactory connectionFactory)
JmsMessageChannelSpecS - the JmsMessageChannelSpec inheritor typeconnectionFactory - the JMS ConnectionFactory to build onJmsMessageChannelSpec instancepublic static <S extends JmsMessageChannelSpec<S>> JmsMessageChannelSpec<S> channel(java.lang.String id, javax.jms.ConnectionFactory connectionFactory)
JmsMessageChannelSpecS - the JmsMessageChannelSpec inheritor typeid - the bean name for the target MessageChannel componentconnectionFactory - the JMS ConnectionFactory to build onJmsMessageChannelSpec instancepublic static JmsPublishSubscribeMessageChannelSpec publishSubscribeChannel(javax.jms.ConnectionFactory connectionFactory)
JmsPublishSubscribeMessageChannelSpecconnectionFactory - the JMS ConnectionFactory to build onJmsPublishSubscribeMessageChannelSpec instancepublic static JmsPublishSubscribeMessageChannelSpec publishSubscribeChannel(java.lang.String id, javax.jms.ConnectionFactory connectionFactory)
JmsPublishSubscribeMessageChannelSpecid - the bean name for the target MessageChannel componentconnectionFactory - the JMS ConnectionFactory to build onJmsPublishSubscribeMessageChannelSpec instancepublic static <S extends JmsOutboundChannelAdapterSpec<S>> JmsOutboundChannelAdapterSpec<S> outboundAdapter(org.springframework.jms.core.JmsTemplate jmsTemplate)
JmsOutboundChannelAdapterSpecS - the JmsOutboundChannelAdapterSpec inheritor typejmsTemplate - the JmsTemplate to build onJmsOutboundChannelAdapterSpec instancepublic static JmsOutboundChannelAdapterSpec.JmsOutboundChannelSpecTemplateAware outboundAdapter(javax.jms.ConnectionFactory connectionFactory)
JmsOutboundChannelAdapterSpecconnectionFactory - the JMS ConnectionFactory to build onJmsOutboundChannelAdapterSpec instancepublic static <S extends JmsInboundChannelAdapterSpec<S>> JmsInboundChannelAdapterSpec<S> inboundAdapter(org.springframework.jms.core.JmsTemplate jmsTemplate)
JmsInboundChannelAdapterSpecS - the JmsInboundChannelAdapterSpec inheritor typejmsTemplate - the JmsTemplate to build onJmsInboundChannelAdapterSpec instancepublic static JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware inboundAdapter(javax.jms.ConnectionFactory connectionFactory)
JmsInboundChannelAdapterSpecconnectionFactory - the JMS ConnectionFactory to build onJmsInboundChannelAdapterSpec instancepublic static JmsOutboundGatewaySpec outboundGateway(javax.jms.ConnectionFactory connectionFactory)
JmsOutboundGatewaySpecconnectionFactory - the JMS ConnectionFactory to build onJmsOutboundGatewaySpec instancepublic static <S extends JmsInboundGatewaySpec<S>> JmsInboundGatewaySpec<S> inboundGateway(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
JmsOutboundGatewaySpecS - the JmsInboundGatewaySpec inheritor typelistenerContainer - the JMS AbstractMessageListenerContainer to build onJmsOutboundGatewaySpec instancepublic static JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec<org.springframework.jms.listener.DefaultMessageListenerContainer> inboundGateway(javax.jms.ConnectionFactory connectionFactory)
JmsOutboundGatewaySpecconnectionFactory - 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)
JmsOutboundGatewaySpecC - the AbstractMessageListenerContainer inheritor typeconnectionFactory - the JMS ConnectionFactory to build oncontainerClass - the AbstractMessageListenerContainer implementation class
to instantiate listener containerJmsOutboundGatewaySpec instance@Deprecated public static <S extends JmsMessageDrivenChannelAdapterSpec<S>> JmsMessageDrivenChannelAdapterSpec<S> messageDriverChannelAdapter(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
messageDrivenChannelAdapter(AbstractMessageListenerContainer).JmsMessageDrivenChannelAdapterSpecS - the JmsMessageDrivenChannelAdapterSpec inheritor typelistenerContainer - the AbstractMessageListenerContainer to build onJmsMessageDrivenChannelAdapterSpec instance@Deprecated public static JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<org.springframework.jms.listener.DefaultMessageListenerContainer> messageDriverChannelAdapter(javax.jms.ConnectionFactory connectionFactory)
messageDrivenChannelAdapter(ConnectionFactory).JmsMessageDrivenChannelAdapterSpecconnectionFactory - the JMS ConnectionFactory to build onJmsMessageDrivenChannelAdapterSpec instance@Deprecated public static <C extends org.springframework.jms.listener.AbstractMessageListenerContainer> JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<C> messageDriverChannelAdapter(javax.jms.ConnectionFactory connectionFactory, java.lang.Class<C> containerClass)
messageDrivenChannelAdapter(ConnectionFactory, Class).JmsMessageDrivenChannelAdapterSpecC - the AbstractMessageListenerContainer inheritor typeconnectionFactory - the JMS ConnectionFactory to build oncontainerClass - the AbstractMessageListenerContainer implementation class
to instantiate listener containerJmsMessageDrivenChannelAdapterSpec instancepublic static <S extends JmsMessageDrivenChannelAdapterSpec<S>> JmsMessageDrivenChannelAdapterSpec<S> messageDrivenChannelAdapter(org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
JmsMessageDrivenChannelAdapterSpecS - the JmsMessageDrivenChannelAdapterSpec inheritor typelistenerContainer - the AbstractMessageListenerContainer to build onJmsMessageDrivenChannelAdapterSpec instancepublic static JmsMessageDrivenChannelAdapterSpec.JmsMessageDrivenChannelAdapterListenerContainerSpec<org.springframework.jms.listener.DefaultMessageListenerContainer> messageDrivenChannelAdapter(javax.jms.ConnectionFactory connectionFactory)
JmsMessageDrivenChannelAdapterSpecconnectionFactory - 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)
JmsMessageDrivenChannelAdapterSpecC - the AbstractMessageListenerContainer inheritor typeconnectionFactory - the JMS ConnectionFactory to build oncontainerClass - the AbstractMessageListenerContainer implementation class
to instantiate listener containerJmsMessageDrivenChannelAdapterSpec instancepublic static JmsListenerContainerSpec<org.springframework.jms.listener.DefaultMessageListenerContainer> container(javax.jms.ConnectionFactory connectionFactory, javax.jms.Destination destination)
JmsListenerContainerSpecconnectionFactory - the JMS ConnectionFactory to build ondestination - the Destination to listen toJmsListenerContainerSpec instancepublic static JmsListenerContainerSpec<org.springframework.jms.listener.DefaultMessageListenerContainer> container(javax.jms.ConnectionFactory connectionFactory, java.lang.String destinationName)
JmsListenerContainerSpecconnectionFactory - the JMS ConnectionFactory to build ondestinationName - the destination name to listen toJmsListenerContainerSpec instance