public class JndiDestinationResolver extends Object implements DestinationResolver
JNDI based implementation of a DestinationResolver
DestinationResolver| Constructor and Description |
|---|
JndiDestinationResolver() |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Destination |
getDestination(PeerDescriptor peer,
DestinationReferenceDescriptor destinationReference,
javax.jms.Session session)
Get a destination reference by name an type (queue or topic)
|
public javax.jms.Destination getDestination(PeerDescriptor peer, DestinationReferenceDescriptor destinationReference, javax.jms.Session session) throws javax.jms.JMSException
DestinationResolvergetDestination in interface DestinationResolverpeer - JMS peer descriptordestinationReference - a destination reference descriptorsession - a JMS sessionjavax.jms.JMSExceptionCopyright © 2021. All rights reserved.