JBoss Community

httprouter issues with GET/POST WADL Services and Web Routing

reply from Dave Siracusa in JBoss ESB Development - View the full discussion

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

Start a new discussion in JBoss ESB Development at Community