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 targetJmsDestinationAccessorSpecimplementation type.A- the targetJmsDestinationAccessorimplementation 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 JmsDestinationAccessors.- Since:
- 5.0
- Author:
- Artem Bilan
-
Field Summary
Fields 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 TypeMethodDescriptionprotected SconnectionFactory(ConnectionFactory connectionFactory) destinationResolver(DestinationResolver destinationResolver) ADestinationResolverto use.Configure the component identifier.pubSubDomain(boolean pubSubDomain) ApubSubDomainflag.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, getId, getObject, getObjectType, getPhase, 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
-
Constructor Details
-
JmsDestinationAccessorSpec
-
-
Method Details
-
connectionFactory
-
id
Description copied from class:IntegrationComponentSpecConfigure the component identifier. Used as thebeanNameto register the bean in the application context for this component.- Overrides:
idin classIntegrationComponentSpec<S extends JmsDestinationAccessorSpec<S,A>, A extends JmsDestinationAccessor> - Parameters:
id- the id.- Returns:
- the spec.
-
destinationResolver
ADestinationResolverto use.- Parameters:
destinationResolver- theDestinationResolverto use.- Returns:
- the spec
- See Also:
-
pubSubDomain
ApubSubDomainflag.- Parameters:
pubSubDomain- thepubSubDomainflag.- 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 theSessionacknowledge mode constant.- Returns:
- the spec.
- See Also:
-
sessionTransacted
A session transaction mode.- Parameters:
sessionTransacted- the transaction mode.- Returns:
- the spec.
- See Also:
-