all works fine!
thanx
Søren
Timothy Bish wrote:
>
> On Fri, 2008-12-05 at 07:06 -0800, Sodan wrote:
>> So if I do
>> Message *clone = message->clone();
>> and then later (out of scope) clone the dest,
>> then that should be safe also, right ?
>>
>> thanx
>> Søren
>
> Yes, all clone operatio
On Fri, 2008-12-05 at 07:06 -0800, Sodan wrote:
> So if I do
> Message *clone = message->clone();
> and then later (out of scope) clone the dest,
> then that should be safe also, right ?
>
> thanx
> Søren
Yes, all clone operations in ActiveMQ-CPP perform deep copies, so
anything you clone you can
So if I do
Message *clone = message->clone();
and then later (out of scope) clone the dest,
then that should be safe also, right ?
thanx
Søren
Timothy Bish wrote:
>
> Yes, anything you clone is now yours to delete.
>
>
> On Fri, 2008-12-05 at 06:11 -0800, Sodan wrote:
>> ok, it seems that
Yes, anything you clone is now yours to delete.
On Fri, 2008-12-05 at 06:11 -0800, Sodan wrote:
> ok, it seems that I need to
> cms::Destination *clone = cmsdst->clone();
> and then later when done, I can delete the clone...
>
> right ?
>
>
>
> Sodan wrote:
> >
> > So I get a message and cre
yep, but what about provider string... why does that not work ?
Timothy Bish wrote:
>
> On Fri, 2008-12-05 at 05:03 -0800, Sodan wrote:
>> So I get a message and create a producer based on the destination
>> const cms::Destination *cmsdst = map->getCMSReplyTo();
>> session->createProducer
ok, it seems that I need to
cms::Destination *clone = cmsdst->clone();
and then later when done, I can delete the clone...
right ?
Sodan wrote:
>
> So I get a message and create a producer based on the destination
> const cms::Destination *cmsdst = map->getCMSReplyTo();
> session->create
On Fri, 2008-12-05 at 05:03 -0800, Sodan wrote:
> So I get a message and create a producer based on the destination
> const cms::Destination *cmsdst = map->getCMSReplyTo();
> session->createProducer(cmsdst);
> which works fine.
>
> The thing is that I dont need to reply instantly back, when I