| org.mule.transport.jms.JmsTopicResolver
All known Subclasses: org.mule.transport.jms.DefaultJmsTopicResolver,
JmsTopicResolver | public interface JmsTopicResolver (Code) | | A strategy interface to detect a
javax.jms.Topic in,
possibly, a vendor-specific way.
|
Method Summary | |
boolean | isTopic(ImmutableEndpoint endpoint) Use endpoint configuration to detect a topic. | boolean | isTopic(ImmutableEndpoint endpoint, boolean fallbackToEndpointProperties) Use endpoint configuration to detect a topic. | boolean | isTopic(Destination destination) Use any means suitable to detect a topic. |
isTopic | boolean isTopic(ImmutableEndpoint endpoint, boolean fallbackToEndpointProperties)(Code) | | Use endpoint configuration to detect a topic. Additionally,
specify a fallback mechanism to search in endpoint's properties
in case resource info yields
false . In case resource info
returned
true no endpoint properties would be consulted.
Parameters: endpoint - endpoint to test Parameters: fallbackToEndpointProperties - whether to check endpoint's properties ifresource info returned false true if endpoint's config tells it's a topic |
isTopic | boolean isTopic(Destination destination)(Code) | | Use any means suitable to detect a topic. This can
be as simple as an
instanceof call or utilize
reflection and/or vendor API instead.
Parameters: destination - a jms destination to test true for topic |
|
|