public class DataMapperModule extends Object implements org.mule.api.context.MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
static String |
MULE_CONTEXT |
static String |
MULE_EVENT |
| Constructor and Description |
|---|
DataMapperModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
String |
getOutputContentType() |
String |
getOutputEncoding() |
void |
initialise() |
void |
setInitialPoolSize(int initialPoolSize) |
void |
setMuleContext(org.mule.api.MuleContext muleContext) |
void |
setTransformationGraphPath(String transformationGraphPath) |
Object |
transform(org.mule.api.MuleEvent event,
Object input,
Map<String,Object> inputArguments,
boolean streaming,
int pipeSize)
Transform an input data format into another.
|
public static final String MULE_CONTEXT
public static final String MULE_EVENT
@PostConstruct public void initialise()
public void dispose()
public Object transform(org.mule.api.MuleEvent event, Object input, Map<String,Object> inputArguments, boolean streaming, int pipeSize) throws DataMapperExecutionException, DataMapperCreationException
event - The mule eventinput - The input data to be transformedinputArguments - Input Arguments. Additional arguments to the data mappingstreaming - pipeSize - DataMapperExecutionExceptionDataMapperCreationExceptionpublic void setTransformationGraphPath(String transformationGraphPath)
public void setInitialPoolSize(int initialPoolSize)
public void setMuleContext(org.mule.api.MuleContext muleContext)
setMuleContext in interface org.mule.api.context.MuleContextAwarepublic String getOutputContentType()
public String getOutputEncoding()
Copyright © 2022. All rights reserved.