You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2007/11/23 07:57:27 UTC

[jira] Created: (CAMEL-243) small issues of CxfProducer and CxfConsunmer

small issues of CxfProducer and CxfConsunmer
--------------------------------------------

                 Key: CAMEL-243
                 URL: https://issues.apache.org/activemq/browse/CAMEL-243
             Project: Apache Camel
          Issue Type: Bug
            Reporter: Freeman Fang


CxfProducer didn't write back return value to the exchange, so can't get return value when other kind of consumer (such as SMX consumer) work with CxfProducer
need add 
exchange.copyFrom(cxfExchange); 
in the public void process(Exchange exchange) method

The CamelInvoker used for CxfConsumer didn't set correct ExchangePattern after create the Exchage, 
need add
        if (bop.getOperationInfo().isOneWay()) {
        	cxfExchange.setPattern(ExchangePattern.InOnly);
        } else {
        	cxfExchange.setPattern(ExchangePattern.InOut);
        }

to set the MEP correctly according to the Cxf ServiceModel

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


[jira] Resolved: (CAMEL-243) small issues of CxfProducer and CxfConsunmer

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

James Strachan resolved CAMEL-243.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0

Patch applied with thanks!

> small issues of CxfProducer and CxfConsunmer
> --------------------------------------------
>
>                 Key: CAMEL-243
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-243
>             Project: Apache Camel
>          Issue Type: Bug
>            Reporter: Freeman Fang
>             Fix For: 1.3.0
>
>         Attachments: camel-243.patch
>
>
> CxfProducer didn't write back return value to the exchange, so can't get return value when other kind of consumer (such as SMX consumer) work with CxfProducer
> need add 
> exchange.copyFrom(cxfExchange); 
> in the public void process(Exchange exchange) method
> The CamelInvoker used for CxfConsumer didn't set correct ExchangePattern after create the Exchage, 
> need add
>         if (bop.getOperationInfo().isOneWay()) {
>         	cxfExchange.setPattern(ExchangePattern.InOnly);
>         } else {
>         	cxfExchange.setPattern(ExchangePattern.InOut);
>         }
> to set the MEP correctly according to the Cxf ServiceModel

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


Re: [jira] Updated: (CAMEL-243) small issues of CxfProducer and CxfConsunmer

Posted by Willem Jiang <wi...@gmail.com>.
Hi James,

This patch fixed a key issue which cxf-producer does not copy the 
exchange back in the process(Exchange exchange) method.
Since I have no right to commit the patch , I have to ask for the help :)

Thanks,

Willem.

Freeman Fang wrote:
> Can anyone kindly review and apply this patch?
>
> Thanks in advance
>
> Freeman
>
> Freeman Fang (JIRA) wrote:
>>      [ 
>> https://issues.apache.org/activemq/browse/CAMEL-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel 
>> ]
>>
>> Freeman Fang updated CAMEL-243:
>> -------------------------------
>>
>>     Attachment: camel-243.patch
>>
>> patch for this issue
>>
>>  
>>> small issues of CxfProducer and CxfConsunmer
>>> --------------------------------------------
>>>
>>>                 Key: CAMEL-243
>>>                 URL: 
>>> https://issues.apache.org/activemq/browse/CAMEL-243
>>>             Project: Apache Camel
>>>          Issue Type: Bug
>>>            Reporter: Freeman Fang
>>>         Attachments: camel-243.patch
>>>
>>>
>>> CxfProducer didn't write back return value to the exchange, so can't 
>>> get return value when other kind of consumer (such as SMX consumer) 
>>> work with CxfProducer
>>> need add exchange.copyFrom(cxfExchange); in the public void 
>>> process(Exchange exchange) method
>>> The CamelInvoker used for CxfConsumer didn't set correct 
>>> ExchangePattern after create the Exchage, need add
>>>         if (bop.getOperationInfo().isOneWay()) {
>>>             cxfExchange.setPattern(ExchangePattern.InOnly);
>>>         } else {
>>>             cxfExchange.setPattern(ExchangePattern.InOut);
>>>         }
>>> to set the MEP correctly according to the Cxf ServiceModel
>>>     
>>
>>   
>


Re: [jira] Updated: (CAMEL-243) small issues of CxfProducer and CxfConsunmer

Posted by Freeman Fang <fr...@gmail.com>.
Can anyone kindly review and apply this patch?

Thanks in advance

Freeman

Freeman Fang (JIRA) wrote:
>      [ https://issues.apache.org/activemq/browse/CAMEL-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Freeman Fang updated CAMEL-243:
> -------------------------------
>
>     Attachment: camel-243.patch
>
> patch for this issue
>
>   
>> small issues of CxfProducer and CxfConsunmer
>> --------------------------------------------
>>
>>                 Key: CAMEL-243
>>                 URL: https://issues.apache.org/activemq/browse/CAMEL-243
>>             Project: Apache Camel
>>          Issue Type: Bug
>>            Reporter: Freeman Fang
>>         Attachments: camel-243.patch
>>
>>
>> CxfProducer didn't write back return value to the exchange, so can't get return value when other kind of consumer (such as SMX consumer) work with CxfProducer
>> need add 
>> exchange.copyFrom(cxfExchange); 
>> in the public void process(Exchange exchange) method
>> The CamelInvoker used for CxfConsumer didn't set correct ExchangePattern after create the Exchage, 
>> need add
>>         if (bop.getOperationInfo().isOneWay()) {
>>         	cxfExchange.setPattern(ExchangePattern.InOnly);
>>         } else {
>>         	cxfExchange.setPattern(ExchangePattern.InOut);
>>         }
>> to set the MEP correctly according to the Cxf ServiceModel
>>     
>
>   

[jira] Updated: (CAMEL-243) small issues of CxfProducer and CxfConsunmer

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

Freeman Fang updated CAMEL-243:
-------------------------------

    Attachment: camel-243.patch

patch for this issue

> small issues of CxfProducer and CxfConsunmer
> --------------------------------------------
>
>                 Key: CAMEL-243
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-243
>             Project: Apache Camel
>          Issue Type: Bug
>            Reporter: Freeman Fang
>         Attachments: camel-243.patch
>
>
> CxfProducer didn't write back return value to the exchange, so can't get return value when other kind of consumer (such as SMX consumer) work with CxfProducer
> need add 
> exchange.copyFrom(cxfExchange); 
> in the public void process(Exchange exchange) method
> The CamelInvoker used for CxfConsumer didn't set correct ExchangePattern after create the Exchage, 
> need add
>         if (bop.getOperationInfo().isOneWay()) {
>         	cxfExchange.setPattern(ExchangePattern.InOnly);
>         } else {
>         	cxfExchange.setPattern(ExchangePattern.InOut);
>         }
> to set the MEP correctly according to the Cxf ServiceModel

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