activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Arkills <barki...@uw.edu>
Subject I think there is an error on http://activemq.apache.org/nms/examples.html
Date Wed, 13 Oct 2010 17:40:56 GMT

I'm a newbie, so I could certainly be wrong, but ....

The synchronous example has a line that doesn't seem to be compatible with
the Apache.NMS libraries.

This line:
   producer.Persistent = true;

is the problem I see. The IMessageProducer class does not have a Persistent
property. 

I believe, but again I'm a newbie so could be wrong, that that line should
be replaced with:
   producer.DeliveryMode = MsgDeliveryMode.Persistent;

I would love to hear confirmation from someone more experienced that this is
correct.

Brian Arkills
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/I-think-there-is-an-error-on-http-activemq-apache-org-nms-examples-html-tp2994113p2994113.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message