Prior to this commit, each app documented its available config props in its README.adoc. Now that the functions have been moved to the function catalog, these inline docs are replaced w/ a link to the respective function catalog docs. See #524
24 lines
996 B
Plaintext
24 lines
996 B
Plaintext
//tag::ref-doc[]
|
|
= Splitter Processor
|
|
|
|
The splitter app builds upon the concept of the same name in Spring Integration and allows the splitting of a single message into several distinct messages.
|
|
The processor uses a function that takes a `Message<?>` as input and then produces a `List<Message<?>` as output based on various properties (see below).
|
|
You can use a SpEL expression or a delimiter to specify how you want to split the incoming message.
|
|
|
|
== Payload
|
|
|
|
* Incoming payload - `Message<?`>
|
|
|
|
If the incoming type is `byte[]` and the content type is set to `text/plain` or `application/json`, then the application converts the `byte[]` into `String`.
|
|
|
|
* Outgoing payload - `List<Message<?>`
|
|
|
|
|
|
== Options
|
|
|
|
//tag::configuration-properties[link-to-catalog=true]
|
|
https://github.com/spring-cloud/spring-functions-catalog/tree/main/function/spring-splitter-function#configuration-options[See Spring Functions Catalog for configuration options].
|
|
//end::configuration-properties[]
|
|
|
|
//end::ref-doc[]
|