public class DataWeaveBasedStreamingHelper extends Object implements StreamingHelper
StreamingHelper which should
be used in the context of enrichers, polling sources where
StreamingHelper is not accessible.| Constructor and Description |
|---|
DataWeaveBasedStreamingHelper(org.mule.runtime.api.el.ExpressionLanguage expressionLanguage) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.streaming.bytes.CursorStreamProvider |
resolveCursorStreamProvider(InputStream value)
If the value is a repeatable streaming resource such as
InputStream,
CursorStream, then an equivalent CursorStreamProvider is returned. |
public DataWeaveBasedStreamingHelper(org.mule.runtime.api.el.ExpressionLanguage expressionLanguage)
public org.mule.runtime.api.streaming.bytes.CursorStreamProvider resolveCursorStreamProvider(InputStream value)
StreamingHelperInputStream,
CursorStream, then an equivalent CursorStreamProvider is returned. For
CursorStream values, the same CursorStreamProvider that already owns
that CursorStream is used. For other streaming values, the operation's
repeatable streaming strategy will be used. If that strategy doesn't apply (e.g: the operation returns a PagingProvider but
the streaming resource is an InputStream), then the system's default matching strategy will be used instead.resolveCursorStreamProvider in interface StreamingHelpervalue - a value which may be a repeatable streaming resource.Copyright © 2023. All rights reserved.