public class StreamingCarbonMessage extends CarbonMessage
CarbonMessage for streaming. This message type is capable of carrying a reference
to an InputStream.CarbonMessage.ByteBufferInputStream, CarbonMessage.ByteBufferOutputStreamalreadyRead, bufferContent, byteBufferInputStream, faultHandlerStack, headers, lock, messageBody, messageDataSource, messagingException, nelException, properties| Constructor and Description |
|---|
StreamingCarbonMessage(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
This is a blocking call and provides full message as inputStream
removes original content from queue.
|
addMessageBody, getCopyOfFullMessageBody, getFaultHandlerStack, getFullMessageBody, getFullMessageLength, getHeader, getHeaders, getLock, getMessageBody, getMessageDataSource, getMessagingException, getNelException, getOutputStream, getProperties, getProperty, getWriter, isAlreadyRead, isBufferContent, isEmpty, isEndOfMsgAdded, isFaulty, release, removeHeader, removeProperty, setAlreadyRead, setBufferContent, setEndOfMsgAdded, setFaultHandlerStack, setHeader, setHeaders, setHeaders, setMessageDataSource, setMessagingException, setNelException, setProperty, setWriterpublic StreamingCarbonMessage(InputStream inputStream)
public InputStream getInputStream()
CarbonMessagegetInputStream in class CarbonMessageCopyright © 2017 WSO2. All rights reserved.