@ComponentProfile(summary="Treat the message body as the service to execute.") public class DefaultServiceExtractor extends java.lang.Object implements ServiceExtractor
ServiceExtractor
implementation that treats the entire payload as the service.In the adapter configuration file this class is aliased as dynamic-default-service-extractor which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
DefaultServiceExtractor() |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream(AdaptrisMessage m)
Get an
InputStream that can be unmarshalled into a service. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getService
close, init, start, stop
public java.io.InputStream getInputStream(AdaptrisMessage m) throws ServiceException, java.io.IOException
ServiceExtractor
InputStream
that can be unmarshalled into a service.getInputStream
in interface ServiceExtractor
m
- the adaptris message.ServiceException
java.io.IOException