> Just to make sure I am getting things right I do the following in the
> cleanup:
>
> delete destination;
> consumer.stop();
> session.stop();
> consumer.close();
> delete consumer;
> delete session;
>
> Is this the correct order?
Yes, it looks correct.
On Thu, 22 Sep 2011 08:02:47 +0700, Ivan Pechorin
wrote:
The reason is that the ActiveMQConsumer object is crashing during its
destruction.
>>>Stack traces and sample code that reproduces the issue are needed before
>>>any help here, this could result from a number of different sce
>>> The reason is that the ActiveMQConsumer object is crashing during its
>>> destruction.
>>>
>>Stack traces and sample code that reproduces the issue are needed before
>>any help here, this could result from a number of different scenarios.
>
> I am in the process of creating a standalone example
On Wed, 21 Sep 2011 08:23:40 -0400, Timothy Bish
wrote:
>On Wed, 2011-09-21 at 12:17 +0100, spam trap wrote:
>> I am writing a C++ application using the ActiveMQ CPP API. I have
>> based my code on the example in
>> http://activemq.apache.org/cms/example.html
>>
>> However I have moved the crea
On Wed, 2011-09-21 at 12:17 +0100, spam trap wrote:
> I am writing a C++ application using the ActiveMQ CPP API. I have
> based my code on the example in
> http://activemq.apache.org/cms/example.html
>
> However I have moved the creation of the Session, Destination and
> Consumer objects of the C
I am writing a C++ application using the ActiveMQ CPP API. I have
based my code on the example in
http://activemq.apache.org/cms/example.html
However I have moved the creation of the Session, Destination and
Consumer objects of the Consumer class to the constructor. I
understand that some of the