| java.lang.Object org.springframework.jms.support.JmsAccessor org.springframework.jms.support.destination.JmsDestinationAccessor
All known Subclasses: org.springframework.jms.listener.AbstractJmsListeningContainer, org.springframework.jms.core.JmsTemplate,
Method Summary | |
public DestinationResolver | getDestinationResolver() Return the DestinationResolver for this accessor (never null ). | public boolean | isPubSubDomain() Return whether the Publish/Subscribe domain (
javax.jms.Topic Topics ) is used. | protected Destination | resolveDestinationName(Session session, String destinationName) Resolve the given destination name into a JMS
Destination ,
via this accessor's
DestinationResolver . | public void | setDestinationResolver(DestinationResolver destinationResolver) Set the
DestinationResolver that is to be used to resolve
javax.jms.Destination references for this accessor.
The default resolver is a DynamicDestinationResolver. | public void | setPubSubDomain(boolean pubSubDomain) 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. |
getDestinationResolver | public DestinationResolver getDestinationResolver()(Code) | | Return the DestinationResolver for this accessor (never null ).
|
isPubSubDomain | public boolean isPubSubDomain()(Code) | | Return whether the Publish/Subscribe domain (
javax.jms.Topic Topics ) is used.
Otherwise, the Point-to-Point domain (
javax.jms.Queue Queues ) is used.
|
resolveDestinationName | protected Destination resolveDestinationName(Session session, String destinationName) throws JMSException(Code) | | Resolve the given destination name into a JMS
Destination ,
via this accessor's
DestinationResolver .
Parameters: session - the current JMS Session Parameters: destinationName - the name of the destination the located Destination throws: javax.jms.JMSException - if resolution failed See Also: JmsDestinationAccessor.setDestinationResolver |
setPubSubDomain | public void setPubSubDomain(boolean pubSubDomain)(Code) | | 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.
Parameters: pubSubDomain - "true" for the Publish/Subscribe domain (javax.jms.Topic Topics),"false" for the Point-to-Point domain (javax.jms.Queue Queues) See Also: JmsDestinationAccessor.setDestinationResolver |
Fields inherited from org.springframework.jms.support.JmsAccessor | final protected Log logger(Code)(Java Doc)
|
|
|