The
MultiThreadedMessageDispatcher class is a decorator for any
MessageDispatcher instances that processes incoming message with a supplied
ThreadPool. The processing is thus parallelized on up to the size of the supplied thread pool threads.
In contrast to a {@link MessageDispatcherImpl} aMultiThreadedMessageDispatcher copies the incoming ByteBuffer for {@link #processMessage(TransportMapping sourceTransport,Address incomingAddress,ByteBuffer wholeMessage)} to allowparallel processing of the buffer.
@author Frank Fock
@version 1.10
@since 1.0.2