If you already has a wsdl file , you could use CXF's wsdl2java to generate a bunch of type classes and a SEI first. Then you can delegate the query request to a camel-jdbc component. But I think you need to add some customer processors to take care of the invocation parameters.
you can find some examples here [1][2] [1]http://activemq.apache.org/camel/cxf.html [2]http://activemq.apache.org/camel/cxf-example.html Willem Matteo Redaelli wrote: > I read that with cxf it is possibile to expose webservices starting from a > wsdl file or java code. > I would like to expose with ws/cxf (wsdl first?) a camel-jdbc query in a > spring file without writing a line of java code. is it possibile? > > Thanks in advance > Matteo