Dave Siracusa [
http://community.jboss.org/people/davesiracusa] replied to the discussion
"httprouter issues with GET/POST WADL Services and Web Routing"
To view the discussion, visit:
http://community.jboss.org/message/552390#552390
--------------------------------------------------------------
Hi Jack
I ended up using jersey v1.2. It made it far easier to deal with request / response
types.
I used a http-gateway specified like this (INVM and maxThreads for concurrency / speed):
<service category=+"Business Profile Services"++ +
+name="BusinessProfile REST Proxy"++ +
+ description="BusinessProfile REST WebService Proxy"+
+invmScope="GLOBAL">+++ ++
+<property name="maxThreads" value="50"/>++<listeners>+++
+ <http-gateway name="Index-bprest"
urlPattern="businessprofile/rest/*" />+++ + </listeners>+++ ++
I created a custom action where I process the request (fragment attached - you'll have
to edit it).
I also attached a jersey singleton class.
You should be able to call non jersey services.
Let me know if you have any other questions.
Best,
Dave
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/552390#552390]
Start a new discussion in JBoss ESB Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]