karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-2919) karaf jms:* commands works in non-transacted mode
Date Tue, 04 Nov 2014 13:13:34 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14196079#comment-14196079
] 

Jean-Baptiste Onofré commented on KARAF-2919:
---------------------------------------------

Fixed on master: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=6c4c948e2c483a1a708479d0d9dcf7e25040bd0f

> karaf jms:* commands works in non-transacted mode
> -------------------------------------------------
>
>                 Key: KARAF-2919
>                 URL: https://issues.apache.org/jira/browse/KARAF-2919
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>    Affects Versions: 3.0.1
>         Environment: Karaf 3.0.1 on Windows 7 Professional
>            Reporter: Alexandre Gallice
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.0.0, 3.0.3, 2.4.1, 2.3.9
>
>
> It seems that karaf jms:* commands are not locally transactional as suggested by the
following piece of code in org.apache.karaf.jms.internal.JmsConnector at line 97:
> return session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
> In my opinion, it could be interesting to create transacted session that the client explicitely
commit. For instance:
> return session = connection.createSession(true, Session.CLIENT_ACKNOWLEDGE);
> This would secure the move a lot.
> Moreover, we could explicitely commit messages one by one so that problematic messages
could be insulated in the DLQ.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message