java.lang.Object | ||
↳ | org.springframework.jms.support.JmsAccessor | |
↳ | org.springframework.jms.support.destination.JmsDestinationAccessor |
Known Direct Subclasses |
Known Indirect Subclasses |
Base class for JmsTemplate
and other
JMS-accessing gateway helpers, adding destination-related properties to
JmsAccessor's
common properties.
Not intended to be used directly.
See JmsTemplate
.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.jms.support.JmsAccessor
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the DestinationResolver for this accessor (never
null ). | |||||||||||
Return whether the Publish/Subscribe domain (javax.jms.Topic Topics) is used.
| |||||||||||
Set the
DestinationResolver that is to be used to resolve
javax.jms.Destination references for this accessor. | |||||||||||
Configure the destination accessor with knowledge of the JMS domain used.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Resolve the given destination name into a JMS Destination,
via this accessor's
DestinationResolver . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.jms.support.JmsAccessor
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
|
Return the DestinationResolver for this accessor (never null
).
Return whether the Publish/Subscribe domain (javax.jms.Topic Topics) is used. Otherwise, the Point-to-Point domain (javax.jms.Queue Queues) is used.
Set the DestinationResolver
that is to be used to resolve
javax.jms.Destination references for this accessor.
The default resolver is a DynamicDestinationResolver. Specify a JndiDestinationResolver for resolving destination names as JNDI locations.
Configure the destination accessor with knowledge of the JMS domain used. Default is Point-to-Point (Queues).
For JMS 1.0.2 based accessors, this tells the JMS provider which class hierarchy to use in the implementation of its operations. For JMS 1.1 based accessors, this setting does usually not affect operations. However, for both JMS versions, this setting tells what type of destination to resolve if dynamic destinations are enabled.
pubSubDomain | "true" for the Publish/Subscribe domain (javax.jms.Topic Topics), "false" for the Point-to-Point domain (javax.jms.Queue Queues) |
---|
Resolve the given destination name into a JMS Destination,
via this accessor's DestinationResolver
.
session | the current JMS Session |
---|---|
destinationName | the name of the destination |
if resolution failed | |
JMSException |