You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by StanleyH <st...@gmail.com> on 2006/08/23 01:02:13 UTC
how to send a a file as a Message?
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?
--
View this message in context: http://www.nabble.com/how-to-send-a-a-file-as-a-Message--tf2149307.html#a5935315
Sent from the ActiveMQ - User forum at Nabble.com.
Re: how to send a a file as a Message?
Posted by James Strachan <ja...@gmail.com>.
On 8/23/06, StanleyH <st...@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/