I think the problem with using Camel CXFRS for CXF configuration in blueprint is exactly how can one inject a SearchContext object when all you have is a SearchContextProvider, which acts as a factory for creating a SearchContext from a CXF message. There is no SearchContext bean that one can configure in blueprint, at least not that I can determine.
If I use camel for routing my Restful calls, I can use @PathParam("id"), for example, and extract the id parameter from Camel message header, like so: @Header("id") String id But I don't have access to @Context as a parameter for my Restful methods, and even if I did, how would it be extracted from a Camel exchange. Would it show up as a Header, and if so, what would it be named? -- View this message in context: http://camel.465427.n5.nabble.com/How-can-I-configure-and-use-SearchContext-in-CXFRS-tp5737843p5738611.html Sent from the Camel - Users mailing list archive at Nabble.com.