You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Sergey Beryozkin (Created) (JIRA)" <ji...@apache.org> on 2012/03/27 23:24:24 UTC
[jira] [Created] (CAMEL-5123) Custom processors can not be added to
routes starting from CXFRS beans
Custom processors can not be added to routes starting from CXFRS beans
-----------------------------------------------------------------------
Key: CAMEL-5123
URL: https://issues.apache.org/jira/browse/CAMEL-5123
Project: Camel
Issue Type: Bug
Components: camel-cxf
Affects Versions: 2.9.1
Reporter: Sergey Beryozkin
Adding an empty processor to the route in [1]
{code:xml}
<route>
<from uri="cxfrs://bean://rsClientHttp"/>
<process ref="emptyProcessor"/>
</route>
<bean id="emptyProcessor"
class="org.apache.camel.component.cxf.jaxrs.EmptyProcessor"/>
{code}
loses the response body.
[1] https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/jaxrs/CxfRsSpringProducer.xml
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CAMEL-5123) Custom processors can not be added
to routes starting from CXFRS beans
Posted by "Willem Jiang (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-5123.
---------------------------------
Resolution: Won't Fix
Assignee: Willem Jiang
It's a user mistake, as there are difference between the cxf:rsClient(for producer) and cxf:rsServer (for consumer) definition, we cannot misuse the endpoint with is defined by "cxf:rsClient" with the "cxf:rsServer".
> Custom processors can not be added to routes starting from CXFRS beans
> -----------------------------------------------------------------------
>
> Key: CAMEL-5123
> URL: https://issues.apache.org/jira/browse/CAMEL-5123
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.9.1
> Reporter: Sergey Beryozkin
> Assignee: Willem Jiang
> Labels: cxf, cxfrs, jaxrs
>
> Adding an empty processor to the route in [1]
> {code:xml}
> <route>
> <from uri="cxfrs://bean://rsClientHttp"/>
> <process ref="emptyProcessor"/>
> </route>
>
> <bean id="emptyProcessor"
> class="org.apache.camel.component.cxf.jaxrs.EmptyProcessor"/>
> {code}
> loses the response body.
> [1] https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/jaxrs/CxfRsSpringProducer.xml
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira