Class BytesMessageInputStream
java.lang.Object
java.io.InputStream
org.wso2.carbon.inbound.endpoint.protocol.jms.BytesMessageInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
Input stream that reads data from a JMS
BytesMessage.
Note that since the current position in the message is managed by
the underlying BytesMessage object, it is not possible to
use several instances of this class operating on a single
BytesMessage at the same time.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
BytesMessageInputStream
public BytesMessageInputStream(javax.jms.BytesMessage message)
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
JMSExceptionWrapper
-
read
- Overrides:
readin classInputStream- Throws:
JMSExceptionWrapper
-
read
- Overrides:
readin classInputStream- Throws:
JMSExceptionWrapper
-