Class BytesMessageInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class BytesMessageInputStream
    extends InputStream
    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.