>>> The idea is that UserService#getUserById will call to the external
endpoint to actually get a user ?
Yes, exactly.
>>> If yes: JAX-RS can help there
Yeah, I agree, it will work fine. But I wonder if Camel is suitable for such
kind of tasks too? I can't find neither negative nor positive ans
Say I would like to exploit Camel as a client to a RESTful web service. But
not sure Camel is good enough for such kind of job. I also want to use http4
or ahc component, not cxf.
In general I need only two kinds of routes:
- from Bean -> marshall to Json -> to Ahc with static URI -> unmarshall f