|
|||||||||||
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 | |
javax.jms.Destination |
resolveDestinationName(javax.jms.Session session,
java.lang.String destinationName,
boolean pubSubDomain)
Resolve the given destination name, either as located resource or as dynamic destination. |
Method Detail |
public javax.jms.Destination resolveDestinationName(javax.jms.Session session, java.lang.String destinationName, boolean pubSubDomain) throws javax.jms.JMSException
session
- the current JMS SessiondestinationName
- the name of the destinationpubSubDomain
- whether the domain is pub-sub, else P2P
javax.jms.JMSException
- if resolution failed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |