camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuri Schimke (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-1909) cxfrs improvements
Date Wed, 12 Aug 2009 21:51:36 GMT
cxfrs improvements
------------------

                 Key: CAMEL-1909
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1909
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-cxf
    Affects Versions: 2.0-M3
            Reporter: Yuri Schimke


http://camel.apache.org/cxfrs.html

My main question with this component is why it forces a concrete implementation of the resource
class.  My implementation for a JAXRS annotated interface, is just to use a ProducerTemplate
to call back into camel.  Therefore it would be nice if I could skip that concrete implementation
and just pass through the request either as a BeanInvocation, or for a method with a single
parameter pass that parameter as the body.

For the functionality the current cxfrs component provides it seems much easier to expose
my current class using the cxf functionality and then call into camel.

One minor other issues on the page above, the following example uses cxf instead of cxfrs,
and also needs to refer to resourceClasses instead of ResourceClass

cxf:bean:cxfEndpoint?ResourceClass=org.apache.camel.rs.Example 


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


Mime
View raw message