You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Mark Pollack (JIRA)" <ji...@apache.org> on 2008/05/28 21:54:00 UTC

[jira] Created: (AMQNET-88) Missing method on IConnection

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.


[jira] Commented: (AMQNET-88) Missing method on IConnection

Posted by "Mark Pollack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQNET-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43091#action_43091 ] 

Mark Pollack commented on AMQNET-88:
------------------------------------

Perhaps I was too quick on the draw to create an issue, I now see that transactional is part of the AcknowledgementMode enum, which means that I should select that as the jms spec states that the ack mode 'ignored if the session is transacted'.   I guess then the semantics to create a transactional session are still there, which is what I was concerned about.  I'm not 100% sure though this  actually makes things easier conceptually, being one other item to keep track of as we transliterate code from java-to-.net.  Thoughts?

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


[jira] Resolved: (AMQNET-88) Missing method on IConnection

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes resolved AMQNET-88.
-----------------------------

    Resolution: Won't Fix

Working as designed.

> 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: Jim Gomes
>             Fix For: 1.0
>
>
> 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.


[jira] Commented: (AMQNET-88) Missing method on IConnection

Posted by "Mark Pollack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQNET-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43103#action_43103 ] 

Mark Pollack commented on AMQNET-88:
------------------------------------

Yea, I think having one argument here should be ok.  At least I can't think of a reason why not.  It does make one wonder why the authors of the JMS spec chose to make such an odd api decision.  You can delete the issue if you like.

> 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: Jim Gomes
>             Fix For: 1.0
>
>
> 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.


[jira] Assigned: (AMQNET-88) Missing method on IConnection

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes reassigned AMQNET-88:
-------------------------------

    Assignee: Jim Gomes  (was: James Strachan)

> 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: Jim Gomes
>
> 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.


[jira] Commented: (AMQNET-88) Missing method on IConnection

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (AMQNET-88) Missing method on IConnection

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes updated AMQNET-88:
----------------------------

    Fix Version/s: 1.0

> 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: Jim Gomes
>             Fix For: 1.0
>
>
> 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.