public class JmsDefaultUnresolvedDestinationTransformer extends Object implements JmsUnresolvedDestinationTransformer
Constructor and Description |
---|
JmsDefaultUnresolvedDestinationTransformer() |
Modifier and Type | Method and Description |
---|---|
JmsDestination |
transform(javax.jms.Destination destination)
Given a JMS Destination attempt to determine the type of JmsDestination to
create.
|
JmsDestination |
transform(String destination)
Given a destination name return a matching JmsDestination object.
|
public JmsDefaultUnresolvedDestinationTransformer()
public JmsDestination transform(javax.jms.Destination destination) throws javax.jms.JMSException
JmsUnresolvedDestinationTransformer
transform
in interface JmsUnresolvedDestinationTransformer
destination
- the JMS destination that requires conversion to a JmsDestination type.javax.jms.JMSException
- if an error occurs during the transformation.public JmsDestination transform(String destination) throws javax.jms.JMSException
JmsUnresolvedDestinationTransformer
transform
in interface JmsUnresolvedDestinationTransformer
destination
- the name of the destination to create a JmsDestination type for.javax.jms.JMSException
- if an error occurs while transforming the name.Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.