public class InputStreamSource extends BasicSource
| Constructor and Description |
|---|
InputStreamSource(InputStream is) |
InputStreamSource(InputStream is,
boolean withClose) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected MessageAndRouting |
internalGetNextMessage(StreamProcessingContext spc)
Get the next pending message, if any.
|
getBackoffTimes, getNextMessage, isEof, makeDefRoutingMessage, markComplete, noteEndOfStream, requeuepublic InputStreamSource(InputStream is)
public InputStreamSource(InputStream is, boolean withClose)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class BasicSourceIOExceptionprotected MessageAndRouting internalGetNextMessage(StreamProcessingContext spc) throws IOException, InterruptedException
internalGetNextMessage in class BasicSourcespc - IOExceptionInterruptedExceptionCopyright © 2022 continual.io. All rights reserved.