Package com.trafficparrot.sdk.messaging
Interface DestinationType
- All Known Implementing Classes:
DestinationType
public interface DestinationType
Type of messaging destination (queue or topic).
This is the canonical location for DestinationType.
The deprecated DestinationType enum implements this interface
for backward compatibility - existing SDK plugins continue to work unchanged.
Standard constants are available as QUEUE and TOPIC.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DestinationTypeA queue.static final DestinationTypeA topic. -
Method Summary
-
Field Details
-
QUEUE
A queue. File message destinations, which are directories, use it too. -
TOPIC
A topic.
-
-
Method Details
-
name
String name()Returns the name of this destination type ("QUEUE" or "TOPIC").- Returns:
"QUEUE"or"TOPIC"
-