[jira] Created: (CAMEL-568) CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-568) CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat

JIRA jira@apache.org
CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat
-------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-568
                 URL: https://issues.apache.org/activemq/browse/CAMEL-568
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-cxf
            Reporter: Freeman Fang
             Fix For: 1.4.0
         Attachments: camel-568.patch

add code as below        
       BindingOperationInfo bop = exchange.get(BindingOperationInfo.class);
       
        if (bop != null && bop.getOperationInfo().isOneWay()) {
            cxfExchange.setPattern(ExchangePattern.InOnly);
        } else {
            cxfExchange.setPattern(ExchangePattern.InOut);
        }

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (CAMEL-568) CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat

JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang updated CAMEL-568:
-------------------------------

    Attachment: camel-568.patch

> CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-568
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-568
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>            Reporter: Freeman Fang
>             Fix For: 1.4.0
>
>         Attachments: camel-568.patch
>
>
> add code as below        
>        BindingOperationInfo bop = exchange.get(BindingOperationInfo.class);
>        
>         if (bop != null && bop.getOperationInfo().isOneWay()) {
>             cxfExchange.setPattern(ExchangePattern.InOnly);
>         } else {
>             cxfExchange.setPattern(ExchangePattern.InOut);
>         }

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

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (CAMEL-568) CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-568:
----------------------------------

    Assignee: Willem Jiang

> CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-568
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-568
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>            Reporter: Freeman Fang
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>         Attachments: camel-568.patch
>
>
> add code as below        
>        BindingOperationInfo bop = exchange.get(BindingOperationInfo.class);
>        
>         if (bop != null && bop.getOperationInfo().isOneWay()) {
>             cxfExchange.setPattern(ExchangePattern.InOnly);
>         } else {
>             cxfExchange.setPattern(ExchangePattern.InOut);
>         }

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-568) CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Freeman Fang commented on CAMEL-568:
------------------------------------

http://svn.apache.org/viewvc?rev=662237&view=rev

> CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-568
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-568
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>            Reporter: Freeman Fang
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>         Attachments: camel-568.patch
>
>
> add code as below        
>        BindingOperationInfo bop = exchange.get(BindingOperationInfo.class);
>        
>         if (bop != null && bop.getOperationInfo().isOneWay()) {
>             cxfExchange.setPattern(ExchangePattern.InOnly);
>         } else {
>             cxfExchange.setPattern(ExchangePattern.InOut);
>         }

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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-568) CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-568.
--------------------------------

    Resolution: Fixed

The patch is in the trunk as Freeman pointed.

> CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-568
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-568
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>            Reporter: Freeman Fang
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>         Attachments: camel-568.patch
>
>
> add code as below        
>        BindingOperationInfo bop = exchange.get(BindingOperationInfo.class);
>        
>         if (bop != null && bop.getOperationInfo().isOneWay()) {
>             cxfExchange.setPattern(ExchangePattern.InOnly);
>         } else {
>             cxfExchange.setPattern(ExchangePattern.InOut);
>         }

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (CAMEL-568) CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang closed CAMEL-568.
------------------------------


> CamelInvoker should set ExchangePattern according to the ServiceModel when use MESSAGE and PAYLOAD dataFormat
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-568
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-568
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>            Reporter: Freeman Fang
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>         Attachments: camel-568.patch
>
>
> add code as below        
>        BindingOperationInfo bop = exchange.get(BindingOperationInfo.class);
>        
>         if (bop != null && bop.getOperationInfo().isOneWay()) {
>             cxfExchange.setPattern(ExchangePattern.InOnly);
>         } else {
>             cxfExchange.setPattern(ExchangePattern.InOut);
>         }

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