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 ------------------------------------------------------------------------------ There are two workarounds for this issue: - * Use the new java.nio classes, and InterruptibleChannel in particular. + * Use the new java.nio classes, and {{{InterruptibleChannel}}} in particular. * Close the stream. This will force the blocking operation to be cancelled. Well, porting Axis 1.4 to Java NIO does not look like the way to go so, let's take a look at the second option. @@ -80, +80 @@ } }}} - As you can see, I am using Java 5 ConcurrentMap to handle thread-safety. If you need to compile in Java 1.4, it can be replaced by a simple Hashtable. + As you can see, I am using Java 5 {{{ConcurrentMap}}} to handle thread-safety. If you need to compile in Java 1.4, it can be replaced by a simple Hashtable. Now, to put this class to work we need to do two things: register it, and use it :-) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
