Package com.trafficparrot.sdk.jms
Class Destination
java.lang.Object
com.trafficparrot.sdk.messaging.Destination
com.trafficparrot.sdk.jms.Destination
- All Implemented Interfaces:
Comparable<Destination>
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal DestinationTypeDeprecated.Hides the inheritedtypewith itscom.trafficparrot.sdk.jmstype.Fields inherited from class com.trafficparrot.sdk.messaging.Destination
declareArguments, name, skipDeclare -
Constructor Summary
ConstructorsConstructorDescriptionDestination(String name, DestinationType type) Deprecated.The constructor for plugins compiled against thecom.trafficparrot.sdk.jmstypes.Destination(String name, DestinationType type, boolean skipDeclare, Map<String, Object> declareArguments) Deprecated.Creates a destination with every field a mapping file can set.Destination(String name, DestinationType type) Deprecated.Creates a destination from thecom.trafficparrot.sdk.messagingdestination type. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(Destination other) Deprecated.ThecompareTofor plugins compiled when this class wasComparable<Destination>.Methods inherited from class com.trafficparrot.sdk.messaging.Destination
compareTo, equals, hashCode, toString
-
Field Details
-
type
Deprecated.Hides the inheritedtypewith itscom.trafficparrot.sdk.jmstype. A plugin compiled against that type readsDestination.type:Lcom/trafficparrot/sdk/jms/DestinationType;and binds here; one compiled against thecom.trafficparrot.sdk.messagingtype reads the inherited field's descriptor and binds to the parent's. Both hold the same object.
-
-
Constructor Details
-
Destination
Deprecated.Creates a destination from thecom.trafficparrot.sdk.messagingdestination type.- Parameters:
name- the name of the queue or topictype- whether it is a queue or a topic
-
Destination
Deprecated.The constructor for plugins compiled against thecom.trafficparrot.sdk.jmstypes.- Parameters:
name- the name of the queue or topictype- whether it is a queue or a topic
-
Destination
public Destination(String name, DestinationType type, boolean skipDeclare, Map<String, Object> declareArguments) Deprecated.Creates a destination with every field a mapping file can set.- Parameters:
name- the name of the queue or topictype- whether it is a queue or a topicskipDeclare- for an AMQP broker, true to leave the destination undeclared on the brokerdeclareArguments- for an AMQP broker, the arguments to declare the destination with; null for none
-
-
Method Details
-
compareTo
Deprecated.ThecompareTofor plugins compiled when this class wasComparable<Destination>.- Parameters:
other- the destination to compare this one with- Returns:
- a negative number, zero or a positive number as this destination's name, then its type, sorts before, with or after the other's
-
Destinationinstead. This class extends the new location for backward compatibility - existing SDK plugins continue to work unchanged.