I have an external client which requires RESTful web-services for all of its communication. I have been working on adding RESTful services in JBoss ESB 4.7 using the http-gateway, but this is becoming really painful and error-prone to parse through the messages in the various actions, filter get vs. post/etc.
How can I use RESTEasy annotations for the gateway services? Using RESTEasy I could then define which URI's are POST vs. GET, define parameters and return types, define accepted formats, etc. much, much easier.
Could someone please provide examples? I can't seem to find any examples online. Thanks.