Package com.adaptris.core.lms
Adds support for arbitarily large messages.
The AdaptrisMessage implementation is backed by a pair of files; there is minor support for the
existing AdaptrisMessage.getPayload()
and
AdaptrisMessage.getStringPayload()
methods, however, RuntimeExceptions
will be thrown if there is an attempt to use those methods on files above a certain size as
determined by FileBackedMessageFactory.getMaxMemorySizeBytes()
.
Generally speaking you should be using InterlokMessage.getInputStream()
and InterlokMessage.getOutputStream()
to read and write from the
payload respectively.
-
Interface Summary Interface Description FileBackedMessage Represents a message in the framework which is backed by a file on the filesystem. -
Class Summary Class Description FileBackedMessageFactory Message factory that returns an AdaptrisMessage Implementation that is backed by a pair of files.FileBackedMimeEncoder Implementation ofAdaptrisMessageEncoder
that stores payload and metadata as a mime-encoded multipart message.LargeFsConsumer File system implementation ofAdaptrisMessageConsumer
with large message support.LargeFsProducer File system implementation ofAdaptrisMessageProducer
with large message support.LargeMessageWorkflow Workflow that does not store the original message for error-handling purposes.ZipFileBackedMessageFactory Message factory that creates file backed messages from ZIP files. -
Enum Summary Enum Description ZipFileBackedMessageFactory.CompressionMode