Re: is the Tomcat-7 WsRemoteEndpointImplBase send methods threadsafe, or should we be synchronizing until the Future.get() returns?

2013-10-22 Thread Mark Thomas
On 22/10/2013 00:28, Bob DeRemer wrote: I'm trying to understand how Tomcat's outbound message processing works with respect to making multiple (concurrent) calls against a single RemoteEndpoint.Async using sendText/sendObject. Based on the ExecutionExceptions we got (see below), it seems

RE: is the Tomcat-7 WsRemoteEndpointImplBase send methods threadsafe, or should we be synchronizing until the Future.get() returns?

2013-10-22 Thread Bob DeRemer
-Original Message- From: Niki Dokovski [mailto:nick...@gmail.com] Sent: Tuesday, October 22, 2013 1:11 AM To: Tomcat Users List Subject: Re: is the Tomcat-7 WsRemoteEndpointImplBase send methods threadsafe, or should we be synchronizing until the Future.get() returns? On Tue,

Re: is the Tomcat-7 WsRemoteEndpointImplBase send methods threadsafe, or should we be synchronizing until the Future.get() returns?

2013-10-21 Thread Niki Dokovski
On Tue, Oct 22, 2013 at 3:29 AM, David Bullock david.bull...@machaira.com.au wrote: Hi Bob, I tried searching the javadocs of RemoteEndpoint.Async and associated interfaces, but could not find anything describing the threadsafe nature (existing or not). It appears that the spec lets the