falconair wrote:
You are right, that is indeed how I currently use qpid. However, for
marketdata, there might be thousands of symbols.
Currently, every topic I use has to be defined in my properties file
as such: topic.a=x.a topic.b=x.b ...
I can't list all the symbols (once for level1, again for level2 then
again for timeandsales): partly because the properties file would
grow too large, partly because managing these symbols (and their
changes) would be a nightmare.
That's why I wanted to define some top level topics (level1.*,
level2.*, etc.) and somehow avoid having to pre-define the topics at
the symbol level (level1.msft, level1.orcl, level1.ebay...).
I think the solution is to use Headers exchange (if it works through
JMS)
Ok, if I understand correctly you want to avoid the configuration
overhead of defining each each symbol as a separate JMS Destination? If
so I'm not sure the headers exchange offers any way round that (at least
not on the consumer side).
The issue is not that the routing algorithm in use doesn't fit, but that
the details of the routing are hidden behind the Destination object and
you don't want to configure each symbol as a separate Destination
You could create the Destinations in code to avoid this since the
application must have knowledge of the symbols in question anyway if you
are not relying on configuration.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]