public interface TransportSide
AbstractTransport
or AbstractCodec
.Modifier and Type | Method and Description |
---|---|
void |
sendBatchTowardsTransport(java.util.List<Message> messages)
Process or deliver a batch of messages heading towards a
plug-in transport.
|
void sendBatchTowardsTransport(java.util.List<Message> messages)
The ability to handle messages in batches is provided to allow amortising the costs of delivering events.
Threading: Plug-ins are required to ensure that they do not call into the next plug-in in their chain
from more than one thread concurrently (although it does not have to be the same thread each time). Plug-ins may
therefore assume that no additional locking is required in this method to protect access to the plug-in's state.
The plug-in should be as responsive as possible to the ConnectivityPlugin.shutdown()
method, which may be called at any time on any thread.
If this method throws then the exception will be logged and the batch of messages dropped.
Submit a bug or feature
Copyright (c) 2013-2018 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.