|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DestinationResolver
Strategy interface for resolving JMS destinations.
Used by JmsTemplate for resolving
destination names from simple Strings to actual
Destination implementation instances.
The default DestinationResolver implementation used by
JmsTemplate instances is the
DynamicDestinationResolver class. Consider using the
JndiDestinationResolver for more advanced scenarios.
JmsDestinationAccessor.setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver),
DynamicDestinationResolver,
JndiDestinationResolver| Method Summary | |
|---|---|
Destination |
resolveDestinationName(Session session,
String destinationName,
boolean pubSubDomain)
Resolve the given destination name, either as located resource or as dynamic destination. |
| Method Detail |
|---|
Destination resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) throws JMSException
session - the current JMS SessiondestinationName - the name of the destinationpubSubDomain - true if the domain is pub-sub, false if P2P
JMSException - if resolution failed
|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||