Re: Embedded Broker/Listener becomes inactive and doesn't dequeue messages

2012-12-24 Thread Jose Martinez
Thanks! I'll set it as follows: broker.getSystemUsage().getTempUsage().setLimit(1024l*64l); And see how it goes. On Mon, Dec 24, 2012 at 12:03 PM, Raul Kripalani wrote: > You are setting a tempUsage limit of 2 kilobytes. Maybe you expected 2000 > to mean megabytes, but the unit is bytes.

Re: Embedded Broker/Listener becomes inactive and doesn't dequeue messages

2012-12-24 Thread Raul Kripalani
You are setting a tempUsage limit of 2 kilobytes. Maybe you expected 2000 to mean megabytes, but the unit is bytes. See Javadoc [1]. In a non-persistent broker, the role of tempUsage is to buffer up non-persistent messages when consumers can't keep up. The temp storage implementation (PListStore)

Embedded Broker/Listener becomes inactive and doesn't dequeue messages

2012-12-24 Thread Jose Martinez
Hello, I've implemented an embedded activemq service and a message listener using in activemq 5.7.0. It works fine for a few hours but I've noticed that after a day or two of inactivity messages stop getting consumed and I keep getting the following message in the logs: 16:19:01,627 DEBUG [Abstra

Re: Stomp client on Android

2012-12-24 Thread Dejan Bosanac
Hi, you can find https://github.com/fusesource/stompjms/ There are some nice examples on how to use it at https://github.com/fusesource/stompjms/tree/master/stompjms-client/src/test/java/org/fusesource/stomp/client Regards -- Dejan Bosanac -- Red Hat, Inc. FuseSource is now

Re: STOMP client

2012-12-24 Thread Ilya Zvyagin
Well, the story has ended like this: There is NO actually simple and isolated Java client library based on STOMP. There are STOMP server-side connectors included in the builds of AMQ and some other MBs. But there is no a simple small client library for this. There is STOMPJ project on Goodle Code