You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/19 02:38:58 UTC
[jira] [Commented] (CAMEL-10397) SJMS - Raise an error against
InOut+transacted producer as it causes a deadlock
[ https://issues.apache.org/jira/browse/CAMEL-10397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15587448#comment-15587448 ]
ASF GitHub Bot commented on CAMEL-10397:
----------------------------------------
GitHub user igarashitm opened a pull request:
https://github.com/apache/camel/pull/1215
CAMEL-10397 SJMS - Raise an error against InOut+transacted producer a…
…s it causes a deadlock
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/igarashitm/camel CAMEL-10397
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1215.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1215
----
commit bd1292a8359b41c475379aba899c74d1a83a9f4a
Author: Tomohisa Igarashi <tm...@gmail.com>
Date: 2016-10-19T02:31:47Z
CAMEL-10397 SJMS - Raise an error against InOut+transacted producer as it causes a deadlock
----
> SJMS - Raise an error against InOut+transacted producer as it causes a deadlock
> -------------------------------------------------------------------------------
>
> Key: CAMEL-10397
> URL: https://issues.apache.org/jira/browse/CAMEL-10397
> Project: Camel
> Issue Type: Improvement
> Components: camel-sjms
> Affects Versions: 2.18.0
> Reporter: Tomohisa Igarashi
>
> InOut MEP and transacted=true are incompatible by nature as it causes deadlock. The message sent by producer won't be available until transaction commits, but the transaction won't commit until reply message is received. SJMS producer should raise an error earlier against this so user would notice his misconfiguration.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)