Class JmsDestinationDescriptor
java.lang.Object
org.springframework.ws.transport.jms.JmsDestinationDescriptor
- All Implemented Interfaces:
WebServiceMessageSender.DestinationDescriptor
public final class JmsDestinationDescriptor
extends Object
implements WebServiceMessageSender.DestinationDescriptor
WebServiceMessageSender.DestinationDescriptor implementation for JMS destinations.
The destination name and replyTo name are the exact strings that the sender hands to its
DestinationResolver, so a policy comparing them decides on the names that will
actually be resolved. Both matter: a resolver that performs a JNDI lookup treats either
name as a lookup key.
- Since:
- 3.1.9
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturn the name of the destination.static JmsDestinationDescriptorof(URI uri, WebServiceMessageSender.UriSource uriSource) Create an instance from the given URI and URI source.@Nullable StringReturn the name of the replyTo.uri()Return the URI.Return the origin of the URI.
-
Method Details
-
of
Create an instance from the given URI and URI source.- Parameters:
uri- the URIuriSource- the URI source- Returns:
- a descriptor
-
uri
Description copied from interface:WebServiceMessageSender.DestinationDescriptorReturn the URI.- Specified by:
uriin interfaceWebServiceMessageSender.DestinationDescriptor- Returns:
- the URI
-
uriSource
Description copied from interface:WebServiceMessageSender.DestinationDescriptorReturn the origin of the URI.- Specified by:
uriSourcein interfaceWebServiceMessageSender.DestinationDescriptor- Returns:
- the source of the URI
-
destinationName
Return the name of the destination.- Returns:
- the destination name
-
replyToName
-