Re: Broker Leak

2012-12-13 Thread Christian Posta
Awesome, thanks for coming back and explaining what happened there. I was super curious about this one. I still think there's room for a unit test to document this and show that the reference in the ProducerBrokerExchange still holds onto the "region" destinations. This reference could be cleared a

Activemq producer locks

2012-12-13 Thread arjun
Hi, We are having a webapplication running on tomcat in which we have an embedded broker. We also have a separate broker that we make TCP connections to. We use activemq 5.5.0 We have a camel route that looks like this - We send object messages to the vm broker queue that routes the message to

Re: Broker Leak

2012-12-13 Thread Jerry Cwiklik
Christian, after much pain and suffering I finally figured out what is going on. Our system is quite complicated and involves many producers that send large messages (600K-1.5M) to a relatively few multi-threaded consumers (services) which run "forever". The producers are transient and can be kille

Re: Changing database programatically

2012-12-13 Thread Gary Tully
have a peek at http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCStoreBrokerTest.java?view=markup there are loads of programatic examples in the tests. Also, to understand how an embedded broker can be started with xml configuration have a

Re: Broker-to-broker Authentication with LDAP Broker Discovery

2012-12-13 Thread Dejan Bosanac
Hi Rob, thanks for the contribution. Can you raise a Jira and attach a patch to it so it don't get lost in the emails. I'll get to commit it in the next few days. Regards -- Dejan Bosanac -- Red Hat, Inc. FuseSource is now part of Red Hat dbosa...@redhat.com Twitter: @dejanb

Changing database programatically

2012-12-13 Thread EveX
Hello. First, I'm a beginner with ActiveMQ. I have a AMQ broker embedded in a tomcat server. I would like to modify some parameters in it, but it seems the %ACTIVEMQ_HOME%\conf\activemq.xml is not readed... I tried to modify the memory usage limit from 64mb to 512mb, and it didn't worked. I fina

Re: Broker-to-broker Authentication with LDAP Broker Discovery

2012-12-13 Thread Rob Coward
Hi Dejan, Many thanks for your reply. I decided to take a stab at the code myself and the attached patch not only seems to now allow me to authenticate the connection, but also solves the problem of the discovered connector not registering in JMX. I hope others might find it useful - is it wort

Re: STOMP client

2012-12-13 Thread James Strachan
there's a bunch of clients here... http://stomp.github.com/implementations.html you could just telnet in to ActiveMQ and use that as a STOMP client? http://fusesource.com/docs/broker/5.4/connectivity_guide/BHIJBDJH.html On 13 December 2012 12:10, Ilya Zvyagin wrote: > Does AMQ as a project provi

Re: I see defaultReadTimeout=-1 in MessageServlet.java, but experience 20 secs.

2012-12-13 Thread Christian Posta
Thanks for closing the loop on this! On Wed, Dec 12, 2012 at 3:50 PM, Steve.V. wrote: > I looked deeper into "MessageServlet.java" and see the getReadTimeout > changes > readTimeout values that are less than zero or greater than > maximumReadTimeout to maximumReadTimeout. That explains why I w

Re: STOMP client

2012-12-13 Thread Christian Posta
Take a look at this: https://github.com/fusesource/stompjms Any stomp 1.0, 1.1 or 1.2 client will work with ActiveMQ. On Thu, Dec 13, 2012 at 5:10 AM, Ilya Zvyagin wrote: > Does AMQ as a project provide a STOMP-based client for a message broker > (AMQ > in particular), > or I should use some

STOMP client

2012-12-13 Thread Ilya Zvyagin
Does AMQ as a project provide a STOMP-based client for a message broker (AMQ in particular), or I should use some 3d party STOMP connector for Java for this? I do have STOMP listener turned on on the AMQ broker server side. I need a small client to be able only to produce messages for the broker i