@ComponentProfile(summary="Execute an XSLT transform", tag="service,transform,xml,multi,payload,multi-payload") public class MultiPayloadXmlTransformService extends XmlTransformService
Service
which provides transformation
of XML payloads contained within the new multi-payload message.
You are required to configure the XML transformer factory; see the
javadoc and implementations of XmlTransformerFactory
for
details on the supported transformer factories.
Configuration including allow over-ride behaviour matches previous
implementation.In the adapter configuration file this class is aliased as new-xml-transform-service which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
MultiPayloadXmlTransformService()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
doService(AdaptrisMessage msg)
Apply the service to the message.
|
java.lang.String |
getOutputPayloadId() |
java.lang.String |
getSourcePayloadId() |
void |
setOutputPayloadId(java.lang.String outputPayloadId) |
void |
setSourcePayloadId(java.lang.String sourcePayloadId) |
cacheAndGetTransformer, closeService, getAllowOverride, getCacheTransforms, getMetadataKey, getOutputMessageEncoding, getParameterBuilder, getTransformParameter, getUrl, getXmlTransformerFactory, initService, prepare, setAllowOverride, setCacheTransforms, setMetadataKey, setOutputMessageEncoding, setTransformParameter, setUrl, setXmlTransformerFactory
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setUniqueId, start, stop
public MultiPayloadXmlTransformService()
transformurl
.public void doService(AdaptrisMessage msg) throws ServiceException
Service
Apply the service to the message.
doService
in interface Service
doService
in class XmlTransformService
msg
- the AdaptrisMessage
to processServiceException
- wrapping any underlying Exception
s(com.adaptris.core.AdaptrisMessage)
public java.lang.String getSourcePayloadId()
public void setSourcePayloadId(java.lang.String sourcePayloadId)
public java.lang.String getOutputPayloadId()
public void setOutputPayloadId(java.lang.String outputPayloadId)