Re: How to create multiple subscribers and producers in a application

2014-08-13 Thread Noel OConnor
Sorry I gave you the wrong info, its the SpringJMSTemplate that uses a connection per message. So use a pooled or cached connection factory for that. As for the consumers I don't think you need a pooled/cached connection. See http://stackoverflow.com/questions/19560479/which-is-better-pooledconn

Re: Scaling ActiveMQ broker for higher load (Network of brokers)

2014-08-13 Thread Kevin Burton
Do you need perfect ordering of messages? If not just use two activemq servers, each with the same queues. Then have your consumers load balance reading from each one… same thing for writing from each one. Taking servers offline just means taking them out for writes and then having consumers dra

Re: Scaling ActiveMQ broker for higher load (Network of brokers)

2014-08-13 Thread Rodrigo Ramos
You can do it with servicemix. Servicemix has rules for route messages using java code (Spring format). 2014-08-13 3:41 GMT-05:00 khandelwalanuj : > Hi, > > I am currently using ActiveMQ 5.10 and running one message broker. In my > setup clients are continuously increasing by which load on the

Re: How to create multiple subscribers and producers in a application

2014-08-13 Thread Matt Pavlovich
I don’t recommend using the same pool for consumers (especially if you use local or XA transactions). The benefit is pretty minimal, and it can cause issues once you start scaling. I don’t see pooling being a big boost for the number of total connections you are describing, but it might make c

Re: Moving db*.log files as /data partition 100% full

2014-08-13 Thread Matt Pavlovich
Yes, you can move the location of those KahaDB files while ActiveMQ is not running. http://activemq.apache.org/kahadb.html ... Also, if you have one really big queue that has the slow consumer, and other queues that just have small messages, you can run into a situation w

Re: Shared database in master/master mode

2014-08-13 Thread Chainbuck
Please refer to the following post . -- View this message in context: http://activemq.2283324.n4.nabble.com/Shared-database-in-master-master-mode-fun-ascii-drawing-inside-

Scaling ActiveMQ broker for higher load (Network of brokers)

2014-08-13 Thread khandelwalanuj
Hi, I am currently using ActiveMQ 5.10 and running one message broker. In my setup clients are continuously increasing by which load on the message broker is getting higher. I want to scale my ActiveMQ broker setup to handle such kind of load. After reading some documentation, I think Network of