public class TcpInputStream
extends org.apache.commons.io.input.ProxyInputStream
TcpWorker as the input parameter for the read() method on the TcpProtocol interface. If you wish to
simply use the InputStream as the message payload that you're reading in, you just call
setStreaming(boolean) so that Mule knows to stop listening for more messages on that stream.
Also, the if streaming is activated, the TcpWorker using this stream will wait until the streaming has been completely
sent before closing the InputStream.in| Constructor and Description |
|---|
TcpInputStream(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStreaming() |
void |
setStreaming(boolean streaming) |
public TcpInputStream(InputStream inputStream)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.