@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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
Map<String,Object> |
getHeaders()
Deprecated.
|
T |
getPayload()
Deprecated.
|
int |
hashCode()
Deprecated.
|
String |
toString()
Deprecated.
|
public T getPayload()
Apache Camel