@ComponentProfile(summary="Force IO to happen on a message.", tag="service", since="3.7.1") public class InputOutputService extends ServiceImp
This service is only included for completeness as there are only a limited number of use-cases for it. For instance, if your
message-factory is a ZipFileBackedMessageFactory
(mode=Uncompress
) and you do not do any IO on the message in the
workflow then the message may still be compressed when you write it out to the filesystem. Using this service simply forces IO to
happen on the message.
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
InputOutputService() |
Modifier and Type | Method and Description |
---|---|
protected void |
closeService() |
void |
doService(AdaptrisMessage msg)
Apply the service to the message.
|
protected void |
initService() |
void |
prepare()
Prepare for initialisation.
|
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId, start, stop
public void doService(AdaptrisMessage msg) throws ServiceException
Service
Apply the service to the message.
msg
- the AdaptrisMessage
to processServiceException
- wrapping any underlying Exception
spublic void prepare() throws CoreException
ComponentLifecycleExtension
CoreException
protected void initService() throws CoreException
initService
in class ServiceImp
CoreException
protected void closeService()
closeService
in class ServiceImp