Re: CMS: message redelivery question / producer causing segmentation fault

2008-02-09 Thread Albert Strasheim
Hello, Did you ever resolve this issue? If not, please submit a JIRA issue with some sample code (and maybe broker configuration files?) attached. Regards, Albert On Wed, 28 Nov 2007, pfid wrote: I'm having 2 problems with activemq-cpp-2.1.1 i just cant get rid off. hopefully someone can

Re: Sent + Pending should equal Received, no?

2008-02-09 Thread Jason Rosenberg
I just tried clicking on purge in the webconsole, on a queue that seemed to have messages stuck in the pending state. After the purge, it now shows that it has -4 messges pending. Should it ever be a negative number of messages pending? Jason Jason Rosenberg wrote: I have a scenario,

Re: Sent + Pending should equal Received, no?

2008-02-09 Thread Jason Rosenberg
Now, after closing down all connected clients, and restarting the broker, the webconsole shows the same queue has 2 pending messagesClicking on browse messages shows no messages. I'm wondering if the jmx QueueViewMBean needs to have more refinement to display more detailed status of

Re: Transport failed, attempting to automatically reconnect due to...

2008-02-09 Thread RHeil
Jason Rosenberg wrote: Don't know if you are using connection poolingI've solved this issue by setting the idle timeout to 0 (infinite timeout), for pooled connections.Unfortunately, the PooledConnectionFactory doesn't expose the idleTimeout property, so I sub-classed it as a

Re: Transport failed, attempting to automatically reconnect due to...

2008-02-09 Thread Jason Rosenberg
It's more than cosmetic, since it keeps the connection alive, preventing the connection pool's default idle timeout from triggering after 30seconds and breaking the connection primaturely. The TcpTransport uses an InactivityMonitor which keeps connections alive, and so you don't want the