Unfortunately, the Stream messages are not currently supported in the
C++ client.  I think your best bet would be to break the stream into
smaller messages and reassemble, as you suggested.

It might help to use a Camel Aggregator
(http://activemq.apache.org/camel/aggregator.html) in the broker, which
could listen to the small messages coming in from the C++ client and
assemble them into Stream message for publication to the Java clients.

Regards,
Nate

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 21, 2008 11:40 AM
> To: users@activemq.apache.org
> Subject: Sending Stream from C++
> 
> 
> I need to send out a stream of data from a C++ program to multiple
Java
> clients.  I've searched around on google for info to do this with
> ActiveMQ,
> but I haven't found anything useful.  There is some talk about using
> streams
> with Java, but that doesn't really help my situation.
> 
> There is a server that is getting a live camera feed into it, and it
needs
> to send this video feed to several Java clients.  I've heard that
ActiveMQ
> would be a good choice for this type of messaging, because it is very
> flexible.  I thought about breaking the stream into smaller messages,
> sending those, and rebuilding the stream on the client.  This seems
like
> it
> might be inefficient.
> 
> Let me warn you by saying, I've never used ActiveMQ before btw.
> 
> Does this seem plausible?  Is there a better way to do this that I
have
> missed?
> 
> Thanks for your help.
> --
> View this message in context:
http://www.nabble.com/Sending-Stream-from-
> C%2B%2B-tp17367664s2354p17367664.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to