Enhance NMSPersistent with alternative NMSDeliveryMode enum.
------------------------------------------------------------

                 Key: AMQNET-105
                 URL: https://issues.apache.org/activemq/browse/AMQNET-105
             Project: ActiveMQ .Net
          Issue Type: Improvement
          Components: ActiveMQ Client, EMS, MSMQ, Stomp
            Reporter: Jim Gomes
            Assignee: Jim Gomes
            Priority: Minor
             Fix For: 1.1


The NMSPersistent field is too limited to support variations from different 
brokers.  The minimum is that a message in either persistent or it isn't.  
However, TIBCO adds a third proprietary optimized delivery mode called 
ReliableDelivery.  The NMSPersistent field should be deprecated in favor of a 
new NMSDeliveryMode enumeration as follows:

enum MsgDeliveryMode
{
    Persistent,
    NonPersistent
}

This will make the code more self-documenting as well as supporting broker 
implementations of proprietary delivery modes.

The NMSPersistent field should be marked as [deprecated] and then removed in 
the following version.  This will allow users of the NMS library time to update 
their code, since this would be a breaking change and should be carefully 
approached as it has the potential to affect business logic requirements.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to