jms - ActiveMQ create hierarchical topics with wildcards -


i have read in activemq documentation, subtopics can created using wildcards. instance create topics:

  • physicalenvironmet.conditions
  • physicalenvironmet.infrastructure
  • physicalenvironmet.location

i register either 1 of topics, or (physicalenvironmet.>)

but how working more complex structures, this:

enter image description here

would topic flickering called:

  • physicalenvironmet.conditions.light.flickering

and still have precise selection, subscribing topics considered light:

  • physicalenvironmet.conditions.light.>

so asking if there level restriction subtopics , if there maybe more easy way create hierarchical topic orders.

in 10+ yrs of messaging, every hierarchal topic structure ends being replaced, b/c taxonomy never works out. overall message pattern suggests moderate total volume, suggest flexible event model use fields define variance vs topic names eventtype="environmental" sensortype="light". allows add new ones , have option of filtering out clients want , not want without having mess broker.

another option use jms headers same. allow use selectors broker-side filtering.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -