| java.lang.Object org.springframework.jms.support.destination.DynamicDestinationResolver
DynamicDestinationResolver | public class DynamicDestinationResolver implements DestinationResolver(Code) | | Simple
DestinationResolver implementation resolving destination names
as dynamic destinations.
This implementation will work on both JMS 1.1 and JMS 1.0.2,
because it uses the
javax.jms.QueueSession or
javax.jms.TopicSession methods if possible, falling back to JMS 1.1's generic
javax.jms.Session methods.
author: Juergen Hoeller since: 1.1 See Also: javax.jms.QueueSession.createQueue See Also: javax.jms.TopicSession.createTopic See Also: javax.jms.Session.createQueue See Also: javax.jms.Session.createTopic |
Method Summary | |
public Destination | resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) Resolve the specified destination name as a dynamic destination. | protected Queue | resolveQueue(Session session, String queueName) Resolve the given destination name to a
Queue . | protected Topic | resolveTopic(Session session, String topicName) Resolve the given destination name to a
Topic . |
resolveQueue | protected Queue resolveQueue(Session session, String queueName) throws JMSException(Code) | | Resolve the given destination name to a
Queue .
Parameters: session - the current JMS Session Parameters: queueName - the name of the desired Queue the JMS Queue throws: javax.jms.JMSException - if resolution failed See Also: Session.createQueue(String) |
resolveTopic | protected Topic resolveTopic(Session session, String topicName) throws JMSException(Code) | | Resolve the given destination name to a
Topic .
Parameters: session - the current JMS Session Parameters: topicName - the name of the desired Topic the JMS Topic throws: javax.jms.JMSException - if resolution failed See Also: Session.createTopic(String) |
|
|