Class JmsDestinationAccessorSpec<S extends JmsDestinationAccessorSpec<S,A>, A extends org.springframework.jms.support.destination.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:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<A>, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
- Direct Known Subclasses:
JmsListenerContainerSpec, JmsTemplateSpec
public abstract class JmsDestinationAccessorSpec<S extends JmsDestinationAccessorSpec<S,A>, A extends org.springframework.jms.support.destination.JmsDestinationAccessor>
extends org.springframework.integration.dsl.IntegrationComponentSpec<S,A>
A base
IntegrationComponentSpec for JmsDestinationAccessors.- Since:
- 5.0
-
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(jakarta.jms.ConnectionFactory connectionFactory) destinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver) ADestinationResolverto use.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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingletonMethods inherited from interface org.springframework.context.SmartLifecycle
isPauseable
-
Constructor Details
-
JmsDestinationAccessorSpec
-
-
Method Details
-
connectionFactory
-
id
-
destinationResolver
public S destinationResolver(org.springframework.jms.support.destination.DestinationResolver 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
-
sessionTransacted
A session transaction mode.- Parameters:
sessionTransacted- the transaction mode.- Returns:
- the spec.
- See Also:
-