anchor.diff:  Address [name=myqueue, routingTypes={ANYCAST}, autoCreated=true]
   ----
   
  -==== Router View
  -
  -//TODO more detail
  -
  -Creates two mobile addresses: One for routing messages from producer to outgoing autolink (Phase 0) and one for routing messages from incoming autolink to subscribers (Phase 1).
  -----
  -qdstat -a
  -----
  -
  -Creates two AMQP links: one incoming and one outgoing link to the broker.
  -----
  -qdstat -l
  -----
  -
  -An autolink is created to manage each of the two links above:
  -----
  -qdstat --autolinks
  -----
  -
  -=== Pooled Topic
  -==== Broker View
  -
  -Creates an address on the broker
  +====== Router View
  +
  +A sharded queue adds the following resources to the router:
  +
  +* A *connection* to the broker pod is created.
  ++
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat -c
  +Connections
  +  id   host                 container                             role             dir  security                              authentication                 tenant
  +  ===================================================================================================================================================================
  +  1525  172.17.0.12:40358    myqueue                               route-container  in   TLSv1.2(ECDHE-RSA-AES256-SHA384)      CN=broker,O=io.enmasse(x.509)  
  +  ...
  +----
  +
  +* Two *addresses* of type `mobile` are created for routing messages from the producer to the outgoing autolink (Phase 0) and for routing messages from the incoming autolink to subscribers (Phase 1).
  ++
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat -a
  +Router Addresses
  +  class     addr                   phs  distrib       in-proc  local  remote  cntnr  in     out    thru  to-proc  from-proc
  +  ===========================================================================================================================
  +  mobile    myqueue                1    balanced      0        0      0       0      0      0      0     0        0
  +  mobile    myqueue                0    balanced      0        1      0       0      0      0      0     0        0
  +  ...
  +----
  +
  +* Two AMQP *links* are created: one incoming link and one outgoing link to the broker.
  ++
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat -l
  +Router Links
  +  type      dir  conn id  id   peer  class   addr                  phs  cap  undel  unsett  del   presett  psdrop  acc   rej  rel  mod  admin    oper
  +  =====================================================================================================================================================
  +  endpoint  in   1525     1576        mobile  myqueue               1    250  0      0       0     0        0       0     0    0    0    enabled  up
  +  endpoint  out  1525     1577        mobile  myqueue               0    250  0      0       0     0        0       0     0    0    0    enabled  up
  +  ...
  +----
  +
  +* Two *autolinks* are created: One to manage each of the above links.
  ++
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat --autolinks
  +AutoLinks
  +  addr     dir  phs  extAddr  link  status  lastErr
  +  ===================================================
  +  myqueue  in   1             1576  active  
  +  myqueue  out  0             1577  active  
  +----
  +
  +====== Adding Producers and Consumers
  +
  +When a producer and consumer are connected the following resources are observed on the router:
  +
  +* A *connection* is created to each consumer/producer.
  ++
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat -c
  +Connections
  +  id   host                 container                             role             dir  security                              authentication                 tenant
  +  ===================================================================================================================================================================
  +  4803  172.17.0.1:50266     06254dd3-0093-5c47-a712-5d7c7a6bdc5c  normal           in   TLSv1.2(ECDHE-RSA-AES128-GCM-SHA256)  PLAIN                          
  +  4805  172.17.0.1:50290     314d27d9-2134-734b-a862-150681b37cfc  normal           in   TLSv1.2(ECDHE-RSA-AES128-GCM-SHA256)  PLAIN     
  +  ...
  +----
  +
  +* In addition to the two existing *links* to the queue, a new link from each producer/consumer to the address is created.
  ++
  +[source=bash,options="nowrap"]
  +----
  +$ qdstat -l
  +Router Links
  +
  +  endpoint  in   4664     2081        mobile  myqueue               1    250  0      0       15    0        0       15    0    250  0    enabled  up
  +  endpoint  out  4664     2082        mobile  myqueue               0    250  0      0       15    0        0       15    0    0    0    enabled  up
  +  endpoint  in   4882     2241        mobile  myqueue               0    250  0      0       5     0        0       5     0    0    0    enabled  up
  +  endpoint  out  4884     2242        mobile  myqueue               1    250  0      0       5     0        0       5     0    0    0    enabled  up
  +  ....
  +----
  +
  +===== Sharded Topic
  +A sharded topic creates a pod for each broker:
  +
  +[source=bash,options="nowrap"]
  +----
  +$ oc get pods
  +
  +myqueue-9445df63-942e-3f0d-80e3-2f6b1c24d5de-0   1/1       Running   1          32m
  +...
  +----
  +
  +====== Broker View
  +
  +A sharded topic creates an address on the broker:
   [source=bash,options="nowrap"]
   ----
   $ ./artemis address show --url tcp://<messaging-address>:<port>
  
positive.code: mytopic
  ----
  
  The _routingType_ of the address is Multicast:
  [source=bash,options="nowrap"]
  ----
  ./artemis address show --url tcp://<messaging-address>:<port> --name mytopic
  Address [name=mytopic, routingTypes={MULTICAST}, autoCreated=false]
  ----
  
  ==== Router View
  
  // TODO more detail
  
  Creates two addresses i.e. in and out. 
  ----
  qdstat -a
  ----
  
  As the above are link route addresses they can also be viewed with
  ----
  qdstat --linkroutes
  ----
negative.code: = Resources
  :toc:
  :toclevels: 5
  :sectnums:
  :sectnumlevels: 5
  
  == Address Spaces
  
  