Author: tabish
Date: Sun Jun 1 07:43:21 2008
New Revision: 662227
URL: http://svn.apache.org/viewvc?rev=662227&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-172
Modified:
activemq/activemq-cpp/trunk/src/main/activemq/cmsutil/CmsTemplate.h
Modified: activemq/activemq-cpp/trunk/src/main/activemq/cmsutil/CmsTemplate.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/cmsutil/CmsTemplate.h?rev=662227&r1=662226&r2=662227&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/cmsutil/CmsTemplate.h
(original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/cmsutil/CmsTemplate.h Sun Jun
1 07:43:21 2008
@@ -414,7 +414,7 @@
* @see #setDeliveryMode(int)
*/
virtual void setDeliveryPersistent(bool deliveryPersistent) {
- this->deliveryMode = (deliveryPersistent ? 0 : 1);
+ this->deliveryMode = (deliveryPersistent ?
cms::DeliveryMode::PERSISTENT : cms::DeliveryMode::NON_PERSISTENT );
}
/**