You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Harald Wellmann (JIRA)" <ji...@apache.org> on 2013/02/11 14:51:13 UTC

[jira] [Commented] (CAMEL-6065) SJMS: inOut() in route and exchangePattern=InOut are not equivalent

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

Harald Wellmann commented on CAMEL-6065:
----------------------------------------

The attached patch contains a passing test SyncBeanInOutIT and a failing test SyncBeanInOutWithoutExchangePatternIT.

The failing test contains a route definition

from("direct:calculatorProxy").inOut("sjms:calculator-queue");

The passing test only differs by

from("direct:calculatorProxy").inOut("sjms:calculator-queue?exchangePattern=InOut");
                
> SJMS: inOut() in route and exchangePattern=InOut are not equivalent
> -------------------------------------------------------------------
>
>                 Key: CAMEL-6065
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6065
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.11.0
>            Reporter: Harald Wellmann
>         Attachments: CAMEL-6065.patch
>
>
> When tunneling a bean invocation through a JMS queue using SJMS, inOut() is not sufficient to specify the exchange pattern. "exchangePattern=InOut" must be added explicitly to the endpoint URI.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira