|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DestinationResolver
Strategy interface for managing JMS destinations. Used by JmsTemplate for resolving destination names.
Default implementations are DynamicDestinationResolver and JndiDestinationResolver.
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
- 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 |