Re: PooledConnections Poor Performance

2011-04-12 Thread Reynald Borer
Hi, By default, CachingConnectionFactory only caches a single session, as explained on the JavaDoc of the class (http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/jms/connection/CachingConnectionFactory.html): "By default, only one single Session will be cached, with furt

PooledConnections Poor Performance

2011-04-12 Thread ks
I used Spring's CachingConnectionFactory and found that it uses only one connection. When we run performance tests, threads are blocked to send message ( even when it is async). So I tried using PooledConnectionFactory. Now threads are blocked more time for getting connection ( creating the conne

Re: Strategy question - many queues or use selectors?

2011-04-12 Thread Mats Henrikson
Hi James, On 12 April 2011 07:54, James Green wrote: > I'm sure this must get asked routinely but for my benefit at least, > which is considered best: Have many (hundreds) of queues, or a single > queue of similar messages and use selectors to pick the right ones > out? We have in the order of t

Re: Force a failover re-randomize?

2011-04-12 Thread dcheckoway
I should have mentioned...ActiveMQ 5.4.2/5.5.0, and I'm *not* using network of brokers. Each broker is totally standalone. - Dan Checkoway dcheckoway gmail com -- View this message in context: http://activemq.2283324.n4.nabble.com/Force-a-failover-re-randomize-tp3445497p3445758.html Sent fro

Re: Force a failover re-randomize?

2011-04-12 Thread nnprasad
Hi, I think you can use updateClusterClients="true" and rebalanceClusterClients="true" options in your tag. provided if you are using 5.4.X Thank You, Nag. -- View this message in context: http://activemq.2283324.n4.nabble.com/Force-a-failover-re-randomize-tp3445497p3445529.html Sent from the

Force a failover re-randomize?

2011-04-12 Thread dcheckoway
I've got producers set up to randomize to my broker nodes, such as: failover:(tcp://mq01:61616,tcp://mq02:61616)?randomize=true Let's say the connection pool is set to max=10. Normally you'd see "roughly" (randomly) 50/50 distribution to the two brokers, say 5 connected to mq01, and 5 connected

Re: KahaDB data files not cleaned up

2011-04-12 Thread BD
Gary, I got 11 files from April 5 (db-9.log - db-19.log), 9 files from April 7 (db-301.log, db-303.log - db-310.log) and one with the current time stamp of April 12 (db-681.log). Time to live is 2 hours so April 5-7 files are not expected to be there. It's now running with debug traces and I'll

Re: Stuck messages - Dispatch issues

2011-04-12 Thread nnprasad
We have been experiencing the same Issue and using 5.2.0. Recently upgraded to 5.4.2 because of this, But I am Not Sure this has been fixed. Responding to Rob Davis Post.. I think nothing to suspect with Spring here, because when this is happening I tried hitting the same queue with a new simpl

Re: Pure Master/Slave config. Synchronization of messages?

2011-04-12 Thread nnprasad
What Version of ActiveMQ you are using ? What is your Client Failover URI ? Look in conf folder for credentials.properties file and give those details in slave authentication xml file. Otherwise go like this ONLY in your SLAVE configuration... Try witho

Integer header in STOMP-submitted message for numeric selector (header>n) string?

2011-04-12 Thread andras
Hello all, i am trying to set up a header in my messages (submitted to my activemq queue through STOMP) for selecting (in a polling consumer/worker) only items with a numeric value in this header that is lower than the current microtime. However, as i understand every header coming from a STOMP me

Re: Messages stuck in queue

2011-04-12 Thread lernen.2007
I tested it further and it is only a problem if we send messages over gsm with lan it works fine. -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-tp3244342p3444072.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: KahaDB data files not cleaned up

2011-04-12 Thread Gary Tully
To my knowledge 5.5 resolves all know issues with data file cleanup. One case where seemingly un referenced files remain is where they contain acks to messages in other data files, so their removal could result in duplicate delivery on recovery. There is now detailed trace log messages from the jou

Re: Strategy question - many queues or use selectors?

2011-04-12 Thread Dejan Bosanac
Hi James, one thing to think about is optimization of memory vs. threads. If you're going with large number of destinations and consumers be sure to check activemq-scalability.xml example and read more on a broker scalability ( http://activemq.apache.org/how-do-i-configure-10s-of-1000s-of-queues-