How to setup multiple queues

2010-12-16 Thread archa
I m using 'apache-activemq-5.1.0' and have one producer and one consumer in my application. The ActiveMq conf file has the following setting When our consumer starts, the messageBroker it connect

Re: EOFException in ActiveMQ 4.1.2

2010-12-16 Thread Ivan
After adding some outputs, the error seems to happen after the socket of the server side received the wireformatinfo, then on the next call of readCommand, it fails to read bytes ... --> 2010-12-17 10:42:13,046 INFO [TcpTransport] BEGIN TAG [1292553733046-99-1] Receive command [LOCAL [/127.0.0.1

EOFException in ActiveMQ 4.1.2

2010-12-16 Thread Ivan
Hi, I am using Geronimo 2.1.7, which shipped ActiveMQ 4.1.2, it sometimes reported the error below after deploying a MDB. I know that ActiveMQ 4.1.2 is a very very old version, but I hope some one could help to give some hints, so that I could port some changes from the trunk. Thanks.

Re: ajax handling fast messages

2010-12-16 Thread Alex Dean
On Dec 15, 2010, at 9:34 AM, Dejan Bosanac wrote: > Hey Alex, > > seems like http client should this job automatically > > http://hc.apache.org/httpclient-3.x/cookies.html > > did you try some of this methods? I thought I had. I was using RestTest.java as a model. Your link helped me realiz

Is ActiveMQ 5.4.2 compliant against the JMS TCK?

2010-12-16 Thread rliguori
Just Curious... Is ActiveMQ 5.4.2 compliant against the JMS TCK? Is every ActiveMQ version tested agains the JMS TCK? If not which ones were (out of the concrete set of releases)? Thanks! -- View this message in context: http://activemq.2283324.n4.nabble.com/Is-ActiveMQ-5-4-2-compliant-aga

Re: Slow throughput after several hundred messages

2010-12-16 Thread robert.sl...@misys.com
I took a look at the XAPooledConnectionFactory, but I am struggling to understand how I could use this when connecting to the broker from a glassfish container via the activemq jca resource adapter. Is this configurable within the resource adapter or jca connection pool somehow? -- View this mess

ActiveMQ Console, main screen

2010-12-16 Thread rliguori
On the main screen, what do the following counters relate to: "Store percent used" "Memory percent used" Temp percent used" Is there documentation for this web page (http://localhost:8161/admin/)? Also, anyone know how to test this three counters? That is create activity to so the values aren'

Re: Network of brokers: message forwarding between brokers stops

2010-12-16 Thread Pauli Kaila
Hi, I have been busy with other stuff so I have not been able to focus on this problem until now. For now I have not been able to create a test case that could reproduce this problem. However I have continued my investigations. I once again made ActiveMQ log everything and found something that c

Re: Slow throughput after several hundred messages

2010-12-16 Thread robert.sl...@misys.com
here is the ra.xml I use: http://activemq.2283324.n4.nabble.com/file/n3090748/ra.xml ra.xml -- View this message in context: http://activemq.2283324.n4.nabble.com/Slow-throughput-after-several-hundred-messages-tp3082431p3090748.html Sent from the ActiveMQ - User mailing list archive at Nabble

Re: Slow throughput after several hundred messages

2010-12-16 Thread robert.sl...@misys.com
I am using a prefetch of 0. This has been configured in the ra.xml in the activemq resource adapter we use to connect up to glassfish. I configured this by adding "&jms.prefetchPolicy.all=0" to the connection url. Just for good measure I also added the following into the ra.xml as well:

Re: Slow throughput after several hundred messages

2010-12-16 Thread Gary Tully
what prefetch value are you using? http://activemq.apache.org/what-is-the-prefetch-limit-for.html On 16 December 2010 11:08, robert.sl...@misys.com wrote: > > Thanks Reynald, that utility could be useful. I think I have already pinned > down this problem to be opening and closing of connections t

Re: Slow throughput after several hundred messages

2010-12-16 Thread robert.sl...@misys.com
Thanks Reynald, that utility could be useful. I think I have already pinned down this problem to be opening and closing of connections to the broker. If I share a single or a couple of connections for all processing, I do not get the broker slowdown issue. Unfortunately, our application runs in Gl

Re: Perhaps I'm just approaching this the wrong way

2010-12-16 Thread Gary Tully
What you describe seems very reasonable. Would it be possible to codify what you are experiencing in the form of a test case? There is some good starting point code in some of the existing unit tests, eg: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/n