org.apache.camel.component.dataset
Class SimpleDataSet
java.lang.Object
org.apache.camel.component.dataset.DataSetSupport
org.apache.camel.component.dataset.SimpleDataSet
- All Implemented Interfaces:
- DataSet
public class SimpleDataSet
- extends DataSetSupport
A simple DataSet that allows a static payload to be used to create each message exchange
along with using a pluggable transformer to randomize the message.
- Version:
Methods inherited from class org.apache.camel.component.dataset.DataSetSupport |
applyHeaders, assertMessageExpected, getDefaultHeaders, getOutputTransformer, getReportCount, getSize, populateDefaultHeaders, populateMessage, setDefaultHeaders, setOutputTransformer, setReportCount, setSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDataSet
public SimpleDataSet()
SimpleDataSet
public SimpleDataSet(int size)
getDefaultBody
public Object getDefaultBody()
setDefaultBody
public void setDefaultBody(Object defaultBody)
createMessageBody
protected Object createMessageBody(long messageIndex)
- Creates the message body for a given message
- Specified by:
createMessageBody
in class DataSetSupport
Apache CAMEL