public class PayloadFactoryMediator extends AbstractMediator
trace, traceState
Constructor and Description |
---|
PayloadFactoryMediator() |
Modifier and Type | Method and Description |
---|---|
void |
addPathArgument(Argument arg) |
String |
getFormat() |
Value |
getFormatKey()
To get the key which is used to pick the format definition from the local registry
|
String |
getInputType() |
String |
getOutputType() |
List<Argument> |
getPathArgumentList() |
String |
getType()
Returns the class name of the mediator
|
boolean |
isContentAltering()
This is used to indicate whether message payload get modified during mediation
|
boolean |
isFormatDynamic() |
boolean |
mediate(MessageContext synCtx)
Contains 2 paths - one when JSON Streaming is in use (mediateJsonStreamPayload) and the other for regular
builders (mediatePayload).
|
void |
setFormat(String format) |
void |
setFormatDynamic(boolean formatDynamic) |
void |
setFormatKey(Value key)
To set the local registry key in order to pick the format definition
|
void |
setType(String type) |
auditLog, auditWarn, configure, disableStatistics, disableTracing, divertMediationRoute, enableStatistics, enableTracing, getAspectConfiguration, getCommentsList, getDescription, getLastSequenceFaultHandler, getLog, getMediatorName, getMediatorPosition, getRegisteredMediationFlowPoint, getShortDescription, getTraceState, handleException, handleException, isBreakPoint, isContentAware, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
public boolean mediate(MessageContext synCtx)
synCtx
- the current message for mediationpublic String getFormat()
public void setFormat(String format)
public void addPathArgument(Argument arg)
public String getType()
AbstractMediator
getType
in interface Mediator
getType
in class AbstractMediator
public void setType(String type)
public Value getFormatKey()
public void setFormatKey(Value key)
key
- the local registry keypublic void setFormatDynamic(boolean formatDynamic)
public boolean isFormatDynamic()
public String getInputType()
getInputType
in class AbstractMediator
public String getOutputType()
getOutputType
in class AbstractMediator
public boolean isContentAltering()
Mediator
isContentAltering
in interface Mediator
isContentAltering
in class AbstractMediator
Copyright © 2005–2017 Apache Software Foundation. All rights reserved.