activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Pearcy <paul.pea...@wallst.com>
Subject Read data from BytesMessage multiple times?
Date Wed, 23 Feb 2011 19:13:38 GMT
Hello,
  Is it possible to read the data from a BytesMessage multiple times? After I read the data
from the message the first time, the DataInputStream dataIn member ends up getting consumed
and I don't see a way to reset the InputStream to allow it to be read again. After reading
the data from the message, I can pass around that byte[] with the message, but that feels
a little clunky.

Thanks,
Paul

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message