[jboss-dev-forums] [JBoss ESB Development] - httprouter issues with GET/POST WADL Services and Web Routing
Dave Siracusa
do-not-reply at jboss.com
Tue Jul 13 15:10:32 EDT 2010
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&containerType=14&container=2032]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100713/eb193bd1/attachment.html
More information about the jboss-dev-forums
mailing list