You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2008/08/29 13:50:53 UTC

[jira] Created: (AMQ-1919) connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?

connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?
--------------------------------------------------------------------------------------

                 Key: AMQ-1919
                 URL: https://issues.apache.org/activemq/browse/AMQ-1919
             Project: ActiveMQ
          Issue Type: Improvement
          Components: JMS client
    Affects Versions: 5.1.0
            Reporter: James Strachan
             Fix For: 5.2.0


sounds dodgy to me - would have thought an exception is better?

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


[jira] Resolved: (AMQ-1919) connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?

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

Rob Davies resolved AMQ-1919.
-----------------------------

    Resolution: Won't Fix

I agree its messy - but its part of the spec - the acknowledge mode is ignored if the session is created transacted

> connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?
> --------------------------------------------------------------------------------------
>
>                 Key: AMQ-1919
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1919
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>    Affects Versions: 5.1.0
>            Reporter: James Strachan
>            Assignee: Rob Davies
>             Fix For: 5.2.0
>
>
> sounds dodgy to me - would have thought an exception is better?

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


[jira] Assigned: (AMQ-1919) connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?

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

Rob Davies reassigned AMQ-1919:
-------------------------------

    Assignee: Rob Davies

> connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?
> --------------------------------------------------------------------------------------
>
>                 Key: AMQ-1919
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1919
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>    Affects Versions: 5.1.0
>            Reporter: James Strachan
>            Assignee: Rob Davies
>             Fix For: 5.2.0
>
>
> sounds dodgy to me - would have thought an exception is better?

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


[jira] Commented: (AMQ-1919) connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?

Posted by "James Strachan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45242#action_45242 ] 

James Strachan commented on AMQ-1919:
-------------------------------------

FWIW the current code just swaps SESSION_TRANSACTED to be AUTO_ACKNOWLEDGE which seems even worse?

> connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?
> --------------------------------------------------------------------------------------
>
>                 Key: AMQ-1919
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1919
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>    Affects Versions: 5.1.0
>            Reporter: James Strachan
>             Fix For: 5.2.0
>
>
> sounds dodgy to me - would have thought an exception is better?

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


[jira] Resolved: (AMQ-1919) connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?

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

Rob Davies resolved AMQ-1919.
-----------------------------

    Resolution: Fixed

Fixed by SVN revision 691124

> connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?
> --------------------------------------------------------------------------------------
>
>                 Key: AMQ-1919
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1919
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>    Affects Versions: 5.1.0
>            Reporter: James Strachan
>            Assignee: Rob Davies
>             Fix For: 5.2.0
>
>
> sounds dodgy to me - would have thought an exception is better?

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


[jira] Commented: (AMQ-1919) connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45297#action_45297 ] 

Rob Davies commented on AMQ-1919:
---------------------------------

Doh- read that wrong - don't work without coffee!

> connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?
> --------------------------------------------------------------------------------------
>
>                 Key: AMQ-1919
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1919
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>    Affects Versions: 5.1.0
>            Reporter: James Strachan
>            Assignee: Rob Davies
>             Fix For: 5.2.0
>
>
> sounds dodgy to me - would have thought an exception is better?

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


[jira] Reopened: (AMQ-1919) connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?

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

Rob Davies reopened AMQ-1919:
-----------------------------


> connection.createSession(false, Session.SESSION_TRANSACTED) should throw an exception?
> --------------------------------------------------------------------------------------
>
>                 Key: AMQ-1919
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1919
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>    Affects Versions: 5.1.0
>            Reporter: James Strachan
>            Assignee: Rob Davies
>             Fix For: 5.2.0
>
>
> sounds dodgy to me - would have thought an exception is better?

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