S
- the target JmsDestinationAccessorSpec
implementation type.A
- the target JmsDestinationAccessor
implementation type.public abstract class JmsDestinationAccessorSpec<S extends JmsDestinationAccessorSpec<S,A>,A extends JmsDestinationAccessor> extends IntegrationComponentSpec<S,A>
IntegrationComponentSpec
for JmsDestinationAccessor
s.PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
JmsDestinationAccessorSpec(A accessor) |
Modifier and Type | Method and Description |
---|---|
protected S |
connectionFactory(ConnectionFactory connectionFactory) |
S |
destinationResolver(DestinationResolver destinationResolver)
A
DestinationResolver to use. |
S |
id(String id)
Configure the component identifier.
|
S |
pubSubDomain(boolean pubSubDomain)
A
pubSubDomain flag. |
S |
sessionAcknowledgeMode(int sessionAcknowledgeMode)
A session acknowledgement mode.
|
S |
sessionAcknowledgeModeName(String constantName)
A session acknowledgement mode name.
|
S |
sessionTransacted(boolean sessionTransacted)
A session transaction mode.
|
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected JmsDestinationAccessorSpec(A accessor)
protected S connectionFactory(ConnectionFactory connectionFactory)
public S id(String id)
IntegrationComponentSpec
beanName
to register the
bean in the application context for this component.id
in class IntegrationComponentSpec<S extends JmsDestinationAccessorSpec<S,A>,A extends JmsDestinationAccessor>
id
- the id.public S destinationResolver(DestinationResolver destinationResolver)
DestinationResolver
to use.destinationResolver
- the DestinationResolver
to use.JmsDestinationAccessor.setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver)
public S pubSubDomain(boolean pubSubDomain)
pubSubDomain
flag.pubSubDomain
- the pubSubDomain
flag.JmsDestinationAccessor.setPubSubDomain(boolean)
public S sessionAcknowledgeMode(int sessionAcknowledgeMode)
sessionAcknowledgeMode
- the acknowledgement mode constantetc.
,
JmsAccessor.setSessionAcknowledgeMode(int)
public S sessionAcknowledgeModeName(String constantName)
constantName
- the name of the Session
acknowledge mode constant.JmsAccessor.setSessionAcknowledgeModeName(java.lang.String)
public S sessionTransacted(boolean sessionTransacted)
sessionTransacted
- the transaction mode.JmsAccessor.setSessionTransacted(boolean)