Package org.frankframework.stream
Class MessageBuilder
java.lang.Object
org.frankframework.stream.MessageBuilder
-
Constructor Summary
ConstructorDescriptionStores the message in thetemp-messages
folder.MessageBuilder
(Path file) Directly stores to disk. -
Method Summary
Modifier and TypeMethodDescriptionasWriter()
build()
SFR will be removed upon close.void
setMimeType
(org.springframework.util.MimeType mimeType)
-
Constructor Details
-
MessageBuilder
Stores the message in thetemp-messages
folder. Attempts to store the result in memory and automatically overflows to disk.- Throws:
IOException
-
MessageBuilder
Directly stores to disk. Mainly for legacy implementations which allows the user to choose where to save the file.- Throws:
IOException
-
-
Method Details
-
asWriter
-
asXmlWriter
-
asJsonWriter
-
asOutputStream
-
build
SFR will be removed upon close.- Returns:
SerializableFileReference
asPathMessage
. Repeatable.
-
setMimeType
public void setMimeType(org.springframework.util.MimeType mimeType)
-