the cpp look like:
session = connection->createSession( Session::AUTO_ACKNOWLEDGE );
destination = session->createQueue( destURI );
producer = session->createProducer( destination );
producer->setDeliveryMode( DeliveryMode::NON_PERSISTENT );
string filename(file); //no ASCII char filename
TextMessage* fileMessage = session->createTextMessage( filename );
producer->send( fileMessage );
if (fileMessage != NULL)
{
delete fileMessage;
}
--
View this message in context:
http://www.nabble.com/problem-in-sending-messages-from-CMS-to-a-JMS-client.-tp20288565p20314687.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.