How can a producer/consumer tell if its connection is still good?

2011-12-09 Thread JRR
Hello, I am using the Active MQ CPP 3.4.0 client. We have a multi-threaded application that has multiple producers, and they share a single connection. These connections are */not/* fail over connections, nor can they be. I'm trying to find the fastest, most efficient way to determine if a conne

Re: OutOfMemory in messageConsumer thread: activemq running out of memory

2011-12-09 Thread jp
Torsten Mielke-2 wrote > > Once you reach an OutOfMemoryError in your JVM you should not assume that > anything continues to work. After an OOM all side effects and errors can > occur. > You will need to restart the JVM. > I agree, and it's a work in progress. However, on the other hand, we wou

Some questions about ActiveMQ

2011-12-09 Thread Bill Moran
I'm having a little trouble locating what I want in the docs, so if this is explained in a doc somewhere, a pointer to that doc would be just as welcome as a direct answer. Start with a scenario: A1 - ESB1 ESB2 --- A2 | | DB

Subscribed w/Wildcard, Not propagating across brokers

2011-12-09 Thread sub3
Hi, I have a network of brokers, all attached to each other. When 1 client subscribes to a queue or topic, regardless of which broker the sender is on, the messages correctly propagate between the brokers. However, when I subscribe to a topic using a wildcard (i.e. 'PROJ.>') only clients connect

Re: OutOfMemory in messageConsumer thread: activemq running out of memory

2011-12-09 Thread Torsten Mielke
> Starting from the OutOfMemoryError, the message consumers > don't consume any message anymore Once you reach an OutOfMemoryError in your JVM you should not assume that anything continues to work. After an OOM all side effects and errors can occur. You will need to restart the JVM. > Is there

RE: Segfault with ActiveMQ-CPP 3.4.0 (Fedora 15 and Fedora 16)

2011-12-09 Thread Donoso Gabilondo, Daniel
I downloaded unreleased version of ActiveMQ-CPP 3.4.1 and now it works fine. -Mensaje original- De: Donoso Gabilondo, Daniel [mailto:daniel.don...@ikusi.com] Enviado el: viernes, 09 de diciembre de 2011 12:25 Para: users@activemq.apache.org Asunto: Segfault with ActiveMQ-CPP 3.4.0 (Fedor

Re: Unmatched acknowledge errors in pure master slave configuration with activemq 5.5

2011-12-09 Thread guerra
I have the same problem. Is there any way to get rid of this annoying error message?. Is this a bug? cheers -- View this message in context: http://activemq.2283324.n4.nabble.com/Unmatched-acknowledge-errors-in-pure-master-slave-configuration-with-activemq-5-5-tp3548344p4176403.html Sent from th

Segfault with ActiveMQ-CPP 3.4.0 (Fedora 15 and Fedora 16)

2011-12-09 Thread Donoso Gabilondo, Daniel
I've a program that uses activemq-cpp library (Activemq-cpp 3.4.0) The program compiles and works well on Fedora Core 12. I need to use Fedora Core 15 or Fedora16. I compiled and installed activemq-cpp library as always. I compile my program, using the same activemq-cpp version and the same FC1

Re: OutOfMemory in messageConsumer thread: activemq running out of memory

2011-12-09 Thread jp
Hi Torsten Thanks a lot for your answer. Even though I hadn't seen it, it doesn't really help me: indeed, it's not the message consumers themselves who run out of memory, but the thread in which they run. Starting from the OutOfMemoryError, the message consumers don't consume any message anymore

CMS --> JMS: javax.jms.JMSException: java.io.UTFDataFormatException

2011-12-09 Thread Oscar Pernas
Hi all, Im sending TextMessages from C++ client to a Java Application. Everything goes fine, except when I add spanish chars like 'ñ'. If I use c++ to send and receive messages with 'ñ' all goes fine. If I send ñ char to a queue and I try to display on the activemq webadmin console, when I click

Re: Re:Proper handling of disconnected consumers - best approach

2011-12-09 Thread romanhawk
I've created pretty simple producers/Consumers with AUTO_ACK mode. Setting prefetch to 0 made the system work as I expected. Maximum 1 message was stuck for some time unless connection was declared "dead". At that moment the message was handled by another alive consumer. Thanks for support, appar

Re: OutOfMemory in messageConsumer thread: activemq running out of memory

2011-12-09 Thread Torsten Mielke
An initial pointer is http://activemq.apache.org/javalangoutofmemory.html Not sure if you have read it already. Torsten Mielke tors...@fusesource.com tmie...@blogspot.com On Dec 9, 2011, at 9:36 AM, jp wrote: > Hi > > We're using a pattern where we keep a connection/session/message consum

OutOfMemory in messageConsumer thread: activemq running out of memory

2011-12-09 Thread jp
Hi We're using a pattern where we keep a connection/session/message consumer per thread. However, it happens sometimes that some threads go wild and fire OutOfMemoryError. After that, memory usage starts to grow in activemq and after some while (depending on the limit and the number of messages se