>>> to do it that way
> >>>>>>>>>
> >>>>>>>>> We thought just doing return Response.ok(resp).build(); from
> >>>>> Processor
> >>>>>>
.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");
; > > >>> - > > staticSubresourceResolution="true">
> > > > > >>> -
> > > > > >>>
> > > > > >>>
> > > > > >>> -
> > > > > >>>
>
solution="true">
> > > > >>> -
> > > > >>>
> > > > >>>
> > > > >>> -
> > > > >>>
> > &
t; >>>
> > > >>>
> > > >>>
> > > >>> > > class="com.bms.web.RESTResponseProcessor"
> > > >> />
> > > >>>
> > > >>> > > >> serviceClass="com.bms.web.Hel
gt;> loggingFeatureEnabled="true" />
> > >>>
> > >>> http://camel.apache.org/schema/spring";>
> > >>>
> > >>>
> > >>>
> > >>>> >> uri="cxfrs://bean://HelloR
pring";>
> >>>
> >>>
> >>>
> >>>>> uri="cxfrs://bean://HelloRsServer?bindingStyle=SimpleConsumer"
> >>> />
> >>>
> >>>
> >>>
> >>>
&g
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
se.ok(resp).build());
> >
> >
> > Resource File is
> >
> > @Path("/Hello")
> > @Produces({"application/json"})
> > public class HelloResource {
> > public HelloResource() {}
> >
> > @GET
> > @Path("/{referenceTyp
}
}
--
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.
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.
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.
;
>
>
>
>
> 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.
>
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.
14 matches
Mail list logo