Re: Camel CXFRS endpoint unable to produce JSON

2013-08-19 Thread ajaysam
>>> to do it that way > >>>>>>>>> > >>>>>>>>> We thought just doing return Response.ok(resp).build(); from > >>>>> Processor > >>>>>>

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-07 Thread Sergey Beryozkin
.APPLICATION_JSON}) @Produces({MediaType.APPLICATION_JSON}) public Response getMessage( @PathParam("referenceTypeName") String name, @QueryParam("") ReferenceDataRequest query) { System.out.println("Hello, i am here !!! In HelloResource ... updated 7.1.13");

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-05 Thread ajaysam
; > > >>> - > > staticSubresourceResolution="true"> > > > > > >>> - > > > > > >>> > > > > > >>> > > > > > >>> - > > > > > >>> >

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-05 Thread Raul Kripalani
solution="true"> > > > > >>> - > > > > >>> > > > > >>> > > > > >>> - > > > > >>> > > &

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-05 Thread ajaysam
t; >>> > > > >>> > > > >>> > > > >>> > > class="com.bms.web.RESTResponseProcessor" > > > >> /> > > > >>> > > > >>> > > >> serviceClass="com.bms.web.Hel

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-02 Thread Christian Müller
gt;> loggingFeatureEnabled="true" /> > > >>> > > >>> http://camel.apache.org/schema/spring";> > > >>> > > >>> > > >>> > > >>>> >> uri="cxfrs://bean://HelloR

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-02 Thread ajaysam
pring";> > >>> > >>> > >>> > >>>>> uri="cxfrs://bean://HelloRsServer?bindingStyle=SimpleConsumer" > >>> /> > >>> > >>> > >>> > >>> &g

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-01 Thread Sergey Beryozkin
CATION_JSON}) public Response getMessage( @PathParam("referenceTypeName") String name, @QueryParam("") ReferenceDataRequest query) { System.out.println("Hello, i am here !!! In HelloResource ... updated 7.1.13"); return null; } } -- View thi

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-01 Thread ajaysam
se.ok(resp).build()); > > > > > > Resource File is > > > > @Path("/Hello") > > @Produces({"application/json"}) > > public class HelloResource { > > public HelloResource() {} > > > > @GET > > @Path("/{referenceTyp

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-01 Thread Sergey Beryozkin
} } -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CXFRS-endpoint-unable-to-produce-JSON-tp5734967p5735046.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel CXFRS endpoint unable to produce JSON

2013-07-01 Thread ajaysam
t;Hello, i am here !!! In HelloResource ... updated 7.1.13"); return null; } } -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CXFRS-endpoint-unable-to-produce-JSON-tp5734967p5735046.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel CXFRS endpoint unable to produce JSON

2013-06-30 Thread Sergey Beryozkin
sage in context: http://camel.465427.n5.nabble.com/Camel-CXFRS-endpoint-unable-to-produce-JSON-tp5734967.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel CXFRS endpoint unable to produce JSON

2013-06-29 Thread Christian Müller
; > > > > > My Processor is doing > > in.setbody(Response.ok(pojoobject).build()); > > i m not getting json output..i m getting only xml output > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-CXFRS-endpoint-unable-to-produce-JSON-tp5734967.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Camel CXFRS endpoint unable to produce JSON

2013-06-28 Thread ajaysam
on output..i m getting only xml output -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CXFRS-endpoint-unable-to-produce-JSON-tp5734967.html Sent from the Camel - Users mailing list archive at Nabble.com.