activemq-cpp Access violation closing consumer session object

2009-03-06 Thread timplusplus
Hi everyone, I have a working C++ client built off of ActiveMQ-CPP 2.4 (WindowsXP, MSVC++, APR 1.3.3) which connects to a standalone ActiveMQ server (5.1.0), can publish messages, subscribe to messages and disconnect just fine. I have attempted to construct my own reconnecton mechanism and for

Fast producers,slow consumer... queue growing forever

2009-03-06 Thread Yenki
Hi, for the last few days I’ve been trying to solve a fast producers / slow consumer problem. I want a limited amount of messages fetch on the consumer (this works) but I also want to have a limited amount of messages in the queue itself (doesn’t work). I use ActiveMQ 4.1.2 Here is what I tried:

Re: Transport disposed exceptions on shutdown

2009-03-06 Thread Gary Tully
Hi Antony, You can safely ignore the DEBUG log messages and possibly the INFO message in the case as it occurs on shutdown. Typically INFO messages can be ignored as they will not effect reliabilty. However, I you can build a simple Junit test case that reliably reproduces this behavior, please ope

Queue has messages, but consumer won't take them.

2009-03-06 Thread Mark Rollins
I'm running an application which uses a VB/C++ client to push messages into an ActiveMQ 5.1 queue, and these are then consumed by a Java web application using JMS. This seems to work well most of the time, however I have a situation now whereby the ActiveMQ admin application is reporting 12 messa

Re: does Durable Consumer can get all non-persistent message?

2009-03-06 Thread Gary Tully
you need to use persistent messages for durable subscribers: http://activemq.apache.org/why-do-i-not-receive-messages-on-my-durable-topic-subscription.html On the ERROR message: there is a recent fix on trunk that should help, could you try a 5.3-SNAPSHOT see: https://issues.apache.org/activemq/br