| java.lang.Object org.mule.transport.jms.DefaultJmsTopicResolver
All known Subclasses: org.mule.transport.jms.weblogic.WeblogicJmsTopicResolver,
DefaultJmsTopicResolver | public class DefaultJmsTopicResolver implements JmsTopicResolver(Code) | | A default implementation of the resolver uses endpoint's
resource info and Java's
instanceof operator to
detect JMS topics.
|
Field Summary | |
final protected static Log | logger |
Method Summary | |
protected void | checkInvariants(Destination destination) Perform some sanity checks, will complain in the log. | public JmsConnector | getConnector() Getter for property 'connector'. | public boolean | isTopic(ImmutableEndpoint endpoint) Will use endpoint's resource info to detect a topic,
as in
jms://topic:trade.PriceUpdatesTopic . | public boolean | isTopic(ImmutableEndpoint endpoint, boolean fallbackToEndpointProperties) | public boolean | isTopic(Destination destination) Will use an
instanceof operator. |
logger | final protected static Log logger(Code) | | logger used by this class
|
DefaultJmsTopicResolver | public DefaultJmsTopicResolver(JmsConnector connector)(Code) | | Create an instance of the resolver.
Parameters: connector - owning connector |
checkInvariants | protected void checkInvariants(Destination destination)(Code) | | Perform some sanity checks, will complain in the log.
Parameters: destination - destination to test |
getConnector | public JmsConnector getConnector()(Code) | | Getter for property 'connector'.
Value for property 'connector'. |
isTopic | public boolean isTopic(Destination destination)(Code) | | Will use an
instanceof operator. Keep in mind
that may fail for JMS systems implementing both a
javax.jms.Topic and
javax.jms.Queue in
a single destination class implementation.
Parameters: destination - a jms destination to test true if the destination is a topic |
|
|