You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2016/05/19 15:21:13 UTC
[jira] [Resolved] (AMQ-6296) NMS Example on Website out of date
[ https://issues.apache.org/jira/browse/AMQ-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-6296.
-------------------------------
Resolution: Fixed
> NMS Example on Website out of date
> ----------------------------------
>
> Key: AMQ-6296
> URL: https://issues.apache.org/jira/browse/AMQ-6296
> Project: ActiveMQ
> Issue Type: Task
> Components: Documentation, Samples
> Reporter: Rayna Leibbrandt Tsimitakopoulos
> Priority: Trivial
>
> On page http://activemq.apache.org/nms/examples.html the "Sync NMS Example" code snippet has the following line:
> producer.Persistent = true;
> This line doesn't compile when compiling this code in Visual Studio 2015 using:
> <package id="Apache.NMS" version="1.7.1" targetFramework="net461" />
> <package id="Apache.NMS.ActiveMQ" version="1.7.1" targetFramework="net461" />
> The fix is to change this line to:
> producer.DeliveryMode = MsgDeliveryMode.Persistent;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)