|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JmsTopicResolver
A strategy interface to detect a javax.jms.Topic
in,
possibly, a vendor-specific way.
Method Summary | |
---|---|
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. |
Method Detail |
---|
boolean isTopic(ImmutableEndpoint endpoint)
endpoint
- endpoint to test
isTopic(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 false
boolean isTopic(Destination destination)
instanceof
call or utilize
reflection and/or vendor API instead.
destination
- a jms destination to test
true
for topic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |