Hi Manu, Try message selectors. This should allow you to reduce the number of topics significantly.
http://activemq.apache.org/selectors.html Regards /Dave On Tue, Apr 21, 2009 at 10:13 AM, manua <agarwal.m...@gmail.com> wrote: > > Hi All, > > I am writing a real time market data publisher and publisher will publish > data for more than 5000 scripts. > > I am thinking of using 5000 topics, one each for each script and subscriber > will listens to these topics; but this approach seems to consume lot of > memory. > > I just want to know if there is any other way in which it could be done in > a > better way. Also, I want to use wild cards at the subscriber side. > > Any help in this regard will be ighly appreciated. > > Thanks, > Manu > -- > View this message in context: > http://www.nabble.com/Real-time-market-data-publisher-tp23157032p23157032.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >