ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ws Wiki] Trivial Update of "FrontPage/Axis/AxisClientConfiguration/InterruptCalls" by RodrigoRuiz
Date Thu, 28 Feb 2008 13:39:03 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by RodrigoRuiz:
http://wiki.apache.org/ws/FrontPage/Axis/AxisClientConfiguration/InterruptCalls

------------------------------------------------------------------------------
  
  If this is not an option, there are [wiki:/AxisClientConfiguration other ways] to change
the configuration.
  
- Unfortunately, this class is not magic. The interruption of the thread must be done manually
by calling the {{{InterruptibleHttpSender#interrupt(Thread)}}} static method. This call should
be done AFTER calling {{{Thread#interrupt()}}}, because it depends on the "isInterrupted"
state of the thread to correctly handle exceptions. So, wherever you have a call to Thread.interrupt(),
you should do something like:
+ Unfortunately, this class is not magic. The interruption of the thread must be done manually
by calling the {{{InterruptibleHttpSender#interrupt(Thread)}}} static method. This call must
be done AFTER calling {{{Thread#interrupt()}}}, because it depends on the "isInterrupted"
state of the thread to correctly handle exceptions. So, wherever you have a call to Thread.interrupt(),
you should do something like:
  
  {{{
    Thread t = ...

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org


Mime
View raw message