activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: how to send a a file as a Message?
Date Wed, 23 Aug 2006 07:07:18 GMT
On 8/23/06, StanleyH <stanley.k.ho@gmail.com> wrote:
>
> Hi, I am writing a voice messenger program.  I captured an audio wav in wav
> format and would like to send it over to another client.  how do I make a
> JMS Message from that?

You can send a BytesMessage or StreamMessage from an arbitrary binary
blob. If the size is gonna be quite big (say over a Mb or so) you
might want to use JMS Streams (it might be easier to use JMS streams
as well :)

http://incubator.apache.org/activemq/jms-streams.html
-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message