Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can we set throttle count to JAX WS ?

 
Sathiesh Kumar Vs
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a JAX WS web service running on a WAS 6 server. Is there a way I can set a throttle count to this web service.
I don't want to change the jvm properties on the server, which will effect the change for all services. I need to restrict the request count only on one particular service.
Is there a way ?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have you considered using a JAX-WS web service handler?
This way, you do not even have to touch the web service itself. Also, it can be applied to just one single service.
Best wishes!
 
Sathiesh Kumar Vs
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Ya that was the last option that I was hoping. But when I go for Customer Handlers, I need to track both the requests and responses for limiting this count.
I was looking for options where we can achieve this through some configurations in JAXWS. Isnt there really a way to do it ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic