activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nydia <Darling6252...@yahoo.com.cn>
Subject question about c++ client(DeliveryMode::PERSISTENT )
Date Thu, 19 Jul 2007 03:04:35 GMT

I sent the topic message using persistent:
  destination = session->createTopic( "TEST.FOO" );
  producer = session->createProducer( destination );
  producer->setDeliveryMode( DeliveryMode::PERSISTENT );
......
 producer->send( message );

and recived the message with the codes:
destination = session->createTopic( "TEST.FOO" );
consumer = session->createDurableConsumer(
(Topic*)destination,"testConsumer", "");
 consumer->setMessageListener( this );

but I recived nothing! I think the sending has no problem,becouse I sent the
message with c++ code(just like upsite),reviced with java client
successed!So I think there must be some problems happened in my recive
codes,Is there anyone could help me?thanks.
-- 
View this message in context: http://www.nabble.com/question-about-c%2B%2B-client%28DeliveryMode%3A%3APERSISTENT-%29-tf4107862s2354.html#a11681566
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message