You can send any object in an ObjectMessage that implements the java.io.Serializable interface. This includes amongst other things, arrays. So passing a byte[] via an object message is absolutely fine.
 Passing it via a ByteMessage is quicker!

cheers,

Rob

http://rajdavies.blogspot.com/



On Oct 3, 2007, at 3:52 AM, Zagato wrote:

Hello everybody, i'm newbie with ActiveMQ,.. i have a very long String that i compress using BZIP2 with Java, this works perfect but i get a byte[] as
the result of the compression, then i need to send this byte[] in a
ObjectMessage, is this posible ? can somebody give a few tips !!!

Thanks in advance...

Alan Jairo Acosta
Cali - Colombia

--
Farewell.
http://www.youtube.com/zagatogekko
ruby << __EOF__
  puts [ 111, 116, 97, 103, 97, 90 ].collect{|v| v.chr}.join.reverse
__EOF__

Reply via email to