[ 
https://issues.apache.org/activemq/browse/AMQNET-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43093#action_43093
 ] 

Jim Gomes commented on AMQNET-88:
---------------------------------

Here are my thoughts.  Mark, as you mention, the functionality you seek is 
there.  I understand the desire for maintaining parallels with JMS and 3rd 
party APIs (i.e., Tibco).  I think that is important.  Sun's documentation for 
*Connection.createSession(bool transacted, int acknowledgeMode)* states that 
the *acknowledgeMode* parameter is ignored if *transacted* is *true*.  To me, 
this seems like the transacted session type should be an enumeration, as it has 
been implemented in NMS.  As has been stated elsewhere NMS is not JMS, so we 
have some flexibility to improve upon JMS, but we should do so cautiously.  I 
think this is one of those times where the divergence from JMS is an 
improvement, even at the cost of a minor transliteration bump.  The concept is 
still there, so a programmer that is looking for an exact function parameter 
match may have to search for a moment, but the end result is cleaner code.


> Missing method on IConnection
> -----------------------------
>
>                 Key: AMQNET-88
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-88
>             Project: ActiveMQ .Net
>          Issue Type: Improvement
>          Components: ActiveMQ Client
>    Affects Versions: 1.0
>            Reporter: Mark Pollack
>            Assignee: James Strachan
>
> Hi,
> The JMS spec has the method 
> public Session createSession ( boolean transacted, int acknowledgeMode ) 
> on the Connection object.  TIBCO EMS has this method as well.
> the NMS API omits the boolean for creating a transacted session.  I very much 
> require this feature.  any reason it was omitted?
> Cheers,
> Mark

-- 
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