Your solution is pretty nice and workfull
I have a question on how to send the rest params for GET, DELETE, and PUT actions.
My RestService have methods with the following specification:
@GET
@Path("")
@Produces("application/xml")
public StreamingOutput getCustomer(@PathParam("id") int id) {
....
}
How am I supposed to send the id through the custom http proxy.
The rest service expects the id in the url http://localhost:8080/rest-service/customer/1
If I send the id at the end of the custom url it doesn't work.
http://localhost:8080/esbRestProxy/http/esb-proxy/simple/customers/1
Hope someone can help!
Cheers!