Class JmsInboundChannelAdapterSpec<S extends JmsInboundChannelAdapterSpec<S>>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S, JmsDestinationPollingSource>
org.springframework.integration.dsl.MessageSourceSpec<S, JmsDestinationPollingSource>
org.springframework.integration.jms.dsl.JmsInboundChannelAdapterSpec<S>
- Type Parameters:
S- the targetJmsInboundChannelAdapterSpecimplementation type.
- All Implemented Interfaces:
DisposableBean,FactoryBean<JmsDestinationPollingSource>,InitializingBean,Lifecycle,Phased,SmartLifecycle
- Direct Known Subclasses:
JmsInboundChannelAdapterSpec.JmsInboundChannelSpecTemplateAware
public class JmsInboundChannelAdapterSpec<S extends JmsInboundChannelAdapterSpec<S>>
extends MessageSourceSpec<S, JmsDestinationPollingSource>
- Since:
- 5.0
- Author:
- Artem Bilan
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAJmsTemplate-basedJmsInboundChannelAdapterSpecextension. -
Field Summary
FieldsFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondestination(Destination destination) Configure the destination from which to receive messages.destination(String destination) Configure the name of destination from which to receive messages.headerMapper(JmsHeaderMapper headerMapper) Configure aJmsHeaderMapperto map from JMS headers and properties to Spring Integration headers.messageSelector(String messageSelector) Methods inherited from class org.springframework.integration.dsl.MessageSourceSpec
messageHeadersMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Field Details
-
jmsTemplateSpec
-
-
Constructor Details
-
JmsInboundChannelAdapterSpec
-
-
Method Details
-
messageSelector
-
headerMapper
Configure aJmsHeaderMapperto map from JMS headers and properties to Spring Integration headers.- Parameters:
headerMapper- the headerMapper.- Returns:
- the spec.
-
destination
Configure the destination from which to receive messages.- Parameters:
destination- the destination.- Returns:
- the spec.
-
destination
-