Interface DestinationResolver
-
- All Known Implementing Classes:
JndiDestinationResolver,SessionDestinationResolver
public interface DestinationResolverInterface for a Destination resolver, ie. an object providing a destination reference given a PeerDescriptor, a DestinationReferenceDescriptor and a target JMS session.
- See Also:
PeerDescriptor,DestinationReferenceDescriptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.jms.DestinationgetDestination(PeerDescriptor peer, DestinationReferenceDescriptor destinationReference, javax.jms.Session session)Get a destination reference by name an type (queue or topic)
-
-
-
Method Detail
-
getDestination
javax.jms.Destination getDestination(PeerDescriptor peer, DestinationReferenceDescriptor destinationReference, javax.jms.Session session) throws javax.jms.JMSException
Get a destination reference by name an type (queue or topic)- Parameters:
peer- JMS peer descriptordestinationReference- a destination reference descriptorsession- a JMS session- Returns:
- a destination object reference
- Throws:
javax.jms.JMSException
-
-