@Deprecated public class BatchMessage<T> extends Object
List
of these objects can be used to batch a collection of bodies and
header pairs in one exchange.
Important: This BatchMessage is only supported by InOnly messaging style
(eg you cannot do request/reply with this BatchMessage)Constructor and Description |
---|
BatchMessage(T payload,
Map<String,Object> headers)
Deprecated.
|
public T getPayload()
Apache Camel