Re: Non-ASCII messages via Stomp being dropped or mangled in 5.5

2011-07-20 Thread atani
Thanks, Dejan. Fiddling with sending a "BytesMessage" results in another interesting error. When I send a plain ASCII-containing bytes message specifying a content-length equal to the length of the message body not including the terminating null byte, everything is fine. But when I send a messag

RE: Connection close not working when Usage Manager Store is reached Full.

2011-07-20 Thread Suneel Papineni
Hi Tim, Thanks for your quick reply. I would like to ask another question before entering into Jira. Here all the messages are set with expiration time as 5 seconds (message.setCMSExpiration(5000)). As there are couple of Durable Consumers across brokers, messages are supposed to be delivered

Re: Connection close not working when Usage Manager Store is reached Full.

2011-07-20 Thread Timothy Bish
On Wed, 2011-07-20 at 14:24 +0100, Suneel Papineni wrote: > Hi, > > > > I am using ActiveMQ-CPP (v 3.4.0) and ActiveMQ server (v 5.5.0). I am > checking what is going to happen when "StoreUsage" memory limit is > reached 100%. For this I configured "storeUsage" limit as "1 mb" and > tried to se

Re: Durable subscriptions not surviving network disconnect

2011-07-20 Thread Andreas Calvo
We've been playing a little bit more, and we faced another issue. Having a network of brokers, two of them embedded on a java application connect to a central standalone activemq server, when we disconnect one of the embedded brokers from the network, it does not get the pending messages from the

Connection close not working when Usage Manager Store is reached Full.

2011-07-20 Thread Suneel Papineni
Hi, I am using ActiveMQ-CPP (v 3.4.0) and ActiveMQ server (v 5.5.0). I am checking what is going to happen when "StoreUsage" memory limit is reached 100%. For this I configured "storeUsage" limit as "1 mb" and tried to send a message. On calling sendMessage, my application got struck and it is

Re: Non-ASCII messages via Stomp being dropped or mangled in 5.5

2011-07-20 Thread Dejan Bosanac
Hi, Stomp protocol supports simple text messages and binary (byte) messages. See in your Perl library how to send binary messages and convert your payload to byte arrays and it should work (or use base64 encoding to convert it to text). Regards -- Dejan Bosanac - http://twitter.com/dejanb -