|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Strategy interface for managing JMS destinations. Used by JmsTemplate for resolving destination names.
Default implementations are DynamicDestinationResolver and JndiDestinationResolver.
JmsTemplate.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 |
public Destination resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) throws JMSException
session
- the current JMS SessiondestinationName
- the name of the destinationpubSubDomain
- whether the domain is pub-sub, else P2P
JMSException
- if resolution failed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |