public interface JmsTopicResolver
javax.jms.Topic
in,
possibly, a vendor-specific way.Modifier and Type | Method and Description |
---|---|
boolean |
isTopic(Destination destination)
Use any means suitable to detect a topic.
|
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(ImmutableEndpoint endpoint)
endpoint
- endpoint to testisTopic(org.mule.api.endpoint.ImmutableEndpoint, boolean)
boolean isTopic(ImmutableEndpoint endpoint, boolean fallbackToEndpointProperties)
false
. In case resource info
returned true
no endpoint properties would be consulted.endpoint
- endpoint to testfallbackToEndpointProperties
- whether to check endpoint's properties if
resource info returned falseboolean isTopic(Destination destination)
instanceof
call or utilize
reflection and/or vendor API instead.destination
- a jms destination to testtrue
for topicCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.