activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sodan <>
Subject Questions about getCMSReplyTo
Date Fri, 05 Dec 2008 13:03:07 GMT

So I get a message and create a producer based on the destination 
  const cms::Destination *cmsdst = map->getCMSReplyTo();
which works fine.

The thing is that I dont need to reply instantly back, when I get a message,
instead I will send back messages after 1 minute or 1 hour.
So is the above Destination valid forever or ?

So the 2 questions are:
1) the above 'const cms::Destination' objects, who owns that and for how
or can/should I make a copy of it or ?
2) tried to do
  string providerstring = cmsdst->toProviderString();
  t = session->createQUEUE(providerstring);
but this does not work... no messages seems to hit the other end

The providerstring returned is:  "ID:verisign-45349-1228314908106-0:32:1"

So I get a message... and need to reply later, sometimes much later...
What is the best approach ?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message