camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Tam <>
Subject Re: Response propogation from cxfbean
Date Tue, 30 Jun 2009 00:12:14 GMT
It sounds like a bug.  I'll take a look.   Thanks.

On Mon, Jun 29, 2009 at 2:33 PM, Srivatsa Katta<> wrote:
> Hi,
> Am having a jetty endpoint which has been backed by the CXF bean processor,
> am using jax-rs compatible cxfbean component. It absolutely works fine in
> happy path scenarios, but if I have to return the custom cxf Response by
> setting the http status code explicitly the same response is not propagated
> back by to the client.
> For Eg:
> If I have a POST method in CXF service, on successful execution of POST
> method (lets say creation of entity), I return a custom cxf Response object
> (which is a generic pattern used in CXF afaik) by setting http status code
> to 301. The same http status code is not returned to the camel client.
> Am wondering if this is a standard procedure used while using cxf beans, if
> it is then why is camel not propagating the same to the client ? If its not
> the standard practice to return custom response from cxf beans how does the
> client knows if the POST method is successful or not ? how do we return
> custom http status codes instead of returning 200 in case of success and 500
> in case of error/exception (which is what camel returns by default)
> Any help regarding this is appreciated..
> PS: Am using Camel 2.0 M2 release.
> Cheers!!
> Katta
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

View raw message