Class JmsDestinationAccessorSpec<S extends JmsDestinationAccessorSpec<S,A>,A extends JmsDestinationAccessor>
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,A>
org.springframework.integration.jms.dsl.JmsDestinationAccessorSpec<S,A>
- Type Parameters:
S
- the targetJmsDestinationAccessorSpec
implementation type.A
- the targetJmsDestinationAccessor
implementation type.
- All Implemented Interfaces:
DisposableBean
,FactoryBean<A>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
- Direct Known Subclasses:
JmsListenerContainerSpec
,JmsTemplateSpec
public abstract class JmsDestinationAccessorSpec<S extends JmsDestinationAccessorSpec<S,A>,A extends JmsDestinationAccessor>
extends IntegrationComponentSpec<S,A>
A base
IntegrationComponentSpec
for JmsDestinationAccessor
s.- Since:
- 5.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected S
connectionFactory
(ConnectionFactory connectionFactory) destinationResolver
(DestinationResolver destinationResolver) ADestinationResolver
to use.Configure the component identifier.pubSubDomain
(boolean pubSubDomain) ApubSubDomain
flag.sessionAcknowledgeMode
(int sessionAcknowledgeMode) A session acknowledgement mode.sessionAcknowledgeModeName
(String constantName) A session acknowledgement mode name.sessionTransacted
(boolean sessionTransacted) A session transaction mode.Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, get, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
JmsDestinationAccessorSpec
-
-
Method Details
-
connectionFactory
-
id
Description copied from class:IntegrationComponentSpec
Configure the component identifier. Used as thebeanName
to register the bean in the application context for this component.- Overrides:
id
in classIntegrationComponentSpec<S extends JmsDestinationAccessorSpec<S,
A>, A extends JmsDestinationAccessor> - Parameters:
id
- the id.- Returns:
- the spec.
-
destinationResolver
ADestinationResolver
to use.- Parameters:
destinationResolver
- theDestinationResolver
to use.- Returns:
- the spec
- See Also:
-
pubSubDomain
ApubSubDomain
flag.- Parameters:
pubSubDomain
- thepubSubDomain
flag.- Returns:
- the spec
- See Also:
-
sessionAcknowledgeMode
A session acknowledgement mode.- Parameters:
sessionAcknowledgeMode
- the acknowledgement mode constant- Returns:
- the spec
- See Also:
-
sessionAcknowledgeModeName
A session acknowledgement mode name.- Parameters:
constantName
- the name of theSession
acknowledge mode constant.- Returns:
- the spec.
- See Also:
-
sessionTransacted
A session transaction mode.- Parameters:
sessionTransacted
- the transaction mode.- Returns:
- the spec.
- See Also:
-