Guest User

Untitled

a guest
Nov 18th, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. Addressing Behavior Use Cases [Draft]
  2. —————————————————
  3. 1. Destination addresses will be stored in canonical form without prefixes
  4. ie. queue:///foo will be stored as name=“foo” type=“anycast”
  5. topic://bar will be stored as name=“bar” type=“multicast”
  6.  
  7. 2. Addresses must specify a type in the configuration
  8.  
  9. 3. Addresses may be auto-created when the intersection of protocol support, broker-side configuration and user permissions permits
  10.  
  11. 4. [JMS] session.createQueue(“foo”) must be translated to the fully qualified name of “queue:///foo” in the client provider library (or some internal core protocol/api equiv)
  12.  
  13. 5. [JMS] session.createQueue(“queue:///foo”) and session.createQueue(“queue://foo”) and session.createQueue(“foo”) refer to the same address
  14.  
  15. 6. [STOMP and AMQP] will default to “anycast” address type (configurable at broker transport?) during lookup and throw an exception if there is a name collision when using unqualified address name.
  16. ie. User specifies “blah” and both types exist
  17.  
  18. 7. [MQTT] will default to topic name unless fully qualified to use the queue address (needs research.. MQTT may not allow URI format in topic name)
  19.  
  20. 8. [STOMP, AMQP and other protocols] will support appropriate prefix mapping to their address name format. For example: /queue/foo and /topic/foo will be translated to foo type=“any cast” and foo type=“multicast” internally
  21.  
  22. Questions:
  23.  
  24. Q-0: Does Artemis support the separation of queue-like and topic-like addresses? ie.. foo type=“anycast” and foo type=“multicast” can co-exist and are distinct addresses.
  25.  
  26. Q-1: What address type should be created by default for STOMP, AMPQ and MQTT unqualified addresses?
  27.  
  28. Q-2: What address type should be looked up by default for STOMP, AMPQ and MQTT of unqualified addresses?
  29.  
  30. Q-3: How would queue://$broker/$host fully qualified address names be supported in STOMP, AMQP and MQTT?
  31.  
  32. Discussions:
  33.  
  34. D-1: jbertram would like to table support for Q-3 fully qualified names (host+destination) until after ARTEMIS-780 is done. The reasoning is to keep things simple and avoid uncertain future complexity.
  35.  
  36. D-2: mattrpav recommends planning for fully qualified names before 2.0 is released (doesn’t need to be part of 780) in order in order to avoid any impacts post-2.0. The reasoning is that in order for Artemis to compete as a replacement with majority of EMS products (IBM MQ, Tibco EMS, etc) host+destination routing is a must-have.
Advertisement
Add Comment
Please, Sign In to add comment