Sorry guys you will not easily get rid of me :)
I am really trying to learn camel these days, one will think that with
google, youtube what is my problem :)
1. I have JAX-RS resource class called MyResource, MyResource class that I
use as webservice and is working fine, as you may know it is easy to start
form something that works :)
I want to make a Camel service that will use, or call the MyResource class.
2. Is Apache CXF or Camel-CXF is the way to go ?
3. I have created a camel-spring-dm maven archtype project.
Can somebody please send me a good link, tutorial, very small example of how
to create a camel service the can be exposed and consume my JAX-RS resource
Test class.
The question is really how can I create a camel service to expose my service
bellow.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Jax-rs
@ApplicationPath("Test")
public class ApplicationActivator extends Application {
}
and the resource class
@Path("test")
public class MyResource {
@Context
UriInfo uri;
@Context
HttpHeaders headers;
@GET
@Path("/getResource")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
public Response getResource(@Context Request req) {
lots of codes here
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks in advance Newbie :)
--
View this message in context:
http://camel.465427.n5.nabble.com/Very-very-newbie-question-about-Camel-tp5777972.html
Sent from the Camel - Users mailing list archive at Nabble.com.