Used by org. for resolving
destination names from simple Strings to actual
Destination implementation instances.
The default DestinationResolver implementation used by
org. instances is the
DynamicDestinationResolver class. Consider using the
JndiDestinationResolver for more advanced scenarios.
org.springframework.jms.core.JmsTemplate#setDestinationResolver , org.springframework.jms.support.destination.DynamicDestinationResolver , org.springframework.jms.support.destination.JndiDestinationResolver
| Modifier and Type | Method and Description |
|---|---|
| public Destination | Returns: the JMS destination (either a topic or a queue)the current JMS Session
(may be session, String null if the resolver implementation is able to work without it)the name of the destination destinationName, boolean true if the domain is pub-sub, false if P2PResolve the given destination name, either as located resource or as dynamic destination. |
| resolveDestinationName | back to summary |
|---|---|
| public Destination resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) throws JMSException Resolve the given destination name, either as located resource or as dynamic destination.
| |