Class InputOutputService

java.lang.Object
com.adaptris.core.ServiceImp
com.adaptris.core.services.InputOutputService
All Implemented Interfaces:
AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, MessageEventGenerator, Service, StateManagedComponent

@ComponentProfile(summary="Force IO to happen on a message.", tag="service", since="3.7.1") public class InputOutputService extends ServiceImp
Forces IO to happen from the message inputstream to outputstream.

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.