Add some notes Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/459c90a8 Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/459c90a8 Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/459c90a8
Branch: refs/heads/master Commit: 459c90a89aae32a4d9ffade62157fbd7e03e6568 Parents: eae4583 Author: Timothy Bish <[email protected]> Authored: Wed Sep 24 16:12:40 2014 -0400 Committer: Timothy Bish <[email protected]> Committed: Wed Sep 24 16:12:40 2014 -0400 ---------------------------------------------------------------------- .../jms/provider/amqp/message/AmqpDestinationHelper.java | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/459c90a8/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpDestinationHelper.java ---------------------------------------------------------------------- diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpDestinationHelper.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpDestinationHelper.java index 9d7445a..350aeb4 100644 --- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpDestinationHelper.java +++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpDestinationHelper.java @@ -48,6 +48,16 @@ public class AmqpDestinationHelper { // TODO - The Type Annotation seems like it could just be a byte value // TODO - How do we deal with the case where no type is present? + /* + * One possible way to encode destination types that isn't a string. + * + * public static final byte QUEUE_TYPE = 0x01; + * public static final byte TOPIC_TYPE = 0x02; + * public static final byte TEMP_MASK = 0x04; + * public static final byte TEMP_TOPIC_TYPE = TOPIC_TYPE | TEMP_MASK; + * public static final byte TEMP_QUEUE_TYPE = QUEUE_TYPE | TEMP_MASK; + */ + /** * Decode the provided To address, type description, and consumer destination * information such that an appropriate Destination object can be returned. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
