Re: jms.prefetchPolicy.queuePrefetch=1 means 2 outstanding messages?

2012-11-15 Thread himanshu_s83
Ok. Sure, will try that. So I assume that with usePrefetchExtension=false, it doesn't matter whats the prefetch size. Correct? With Prefetch Size 0 we initially saw messages getting consumed faster but after a while, consumption rate became dead slow and queue size kept on increasing to a very hig

Re: Problems deploying AMQ web console in Tomcat 7

2012-11-15 Thread EveX
I tried to integrate the web console only, (v5.6) and here the exception thrown: -- View this message in context: http://activemq.2283324.n4.nabble.com/Problems-deploying-AMQ-web-console-in-Tomcat-7-tp4659230p4659402.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: jms.prefetchPolicy.queuePrefetch=1 means 2 outstanding messages?

2012-11-15 Thread Gary Tully
try with PolicyEntry usePrefetchExtension=false, the use case for that came originally from the RAR, but I think it will work. btw: what issues do you have with the pull model, prefetch=0 On 15 November 2012 15:26, himanshu_s83 wrote: > Hi! > > We have a case whereby we've set jms.prefetchPolicy

jms.prefetchPolicy.queuePrefetch=1 means 2 outstanding messages?

2012-11-15 Thread himanshu_s83
Hi! We have a case whereby we've set jms.prefetchPolicy.queuePrefetch=1 and we see that we have 2 outstanding messages in consumer's session queue. 1 getting processed and 1 waiting. Problem is that the processing message might take long time to complete and send ack back to Broker causing the oth

Broker toology

2012-11-15 Thread fitzcaraldo
I am looking to replace a small number (<30) of MQSeries queue managers with AMQ. The current topology connects all QMs via a central QM hub with channels defined for each. I have 3 options for the replacement topology: brokers on each machine with a central hub brokers on each machine with no

jms template is slow and stucks

2012-11-15 Thread Michal Singer
Hi, I am running a simple point-to-point example and trying to run 8 requests from a client to a server. When I run it as is – it goes fast and finishes. When I changed the server to support spring and use jmstemplate to send the message, the reply is slower and gets stuck eventually. Any i

jms template stuck

2012-11-15 Thread Michal Singer
Hi, according to this link: http://activemq.apache.org/jmstemplate-gotchas.html there are problems with using the org.apache.activemq.ActiveMQConnectionFactory and a pooled one should be used instead. I couldn't find the PooledConnectionFactory anywhere. Any recommendations on which pool shoul

Re: Batching messages for better compression?

2012-11-15 Thread Robert Davies
There's been some discussion on batches for JMS2 - see http://java.net/jira/browse/JMS_SPEC-36 On 14 November 2012 21:13, Gary Tully wrote: > Auto batching does not exist at the moment but it would be a nice > enhancement. > ie: configure some sort of client side pause time or size limit so > th

Re: JournaledPersistenceAdapter error prone?

2012-11-15 Thread Gary Tully
the root cause is the interaction of the journal and https://issues.apache.org/jira/browse/AMQ-3695 On 15 November 2012 11:33, Gary Tully wrote: > Please raise a jira issue to track this. it is not a known issue. > If you don't use virtual topics, a workaround is to set > useVirtualTopics=false o

Re: JournaledPersistenceAdapter error prone?

2012-11-15 Thread Gary Tully
Please raise a jira issue to track this. it is not a known issue. If you don't use virtual topics, a workaround is to set useVirtualTopics=false on the broker element in xml config. On 15 November 2012 11:23, Tobb wrote: > We have AMQ 5.6.0 set up using a journaledPersistenceAdapter. In the last

JournaledPersistenceAdapter error prone?

2012-11-15 Thread Tobb
We have AMQ 5.6.0 set up using a journaledPersistenceAdapter. In the last few days we've experienced numerous problems relating to this. It seems that when AMQ is shut down, it dumps its state into the journal files, but when we try to start the AMQ service again, it fails due to: To solve this,

Re: Problems deploying AMQ web console in Tomcat 7

2012-11-15 Thread EveX
We have integrated it with a little java program that create the connection to AMQ: and added this to the tomcat web.xml file: ceposta wrote > Please explain how you integrated with Tomcat a little more. > > On Tue, Nov 13, 2012 at 2:16 AM, EveX < > calegan@ > > wrote: > >> Hello. >> >>

Re: Need help with Oracle SQL to ActiveMQ model

2012-11-15 Thread Torsten Mielke
On Nov 14, 2012, at 4:55 PM, mtod wrote: > Thanks Torsten for the reply > > I'm looking for the syntax or process to use a PL/SQL (Internal Oracle) > query that would route the message to ActiveMQ from Oracle. > > I have everything setup down to the client I can even send messages from the > Or