activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
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 <> 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 :)


View raw message