On Fri, 2009-05-29 at 05:44 -0700, Sahay wrote: > My requirement is to send around massive files for processing by JMS based > consumers from the CMS based producers. > > There are no support for Blob and Stream messages in ActiveMQ-CPP-2.x > version, but there is a support available for ActiveMQStreamMessage in > ActiveMQ-CPP version 3.0. My question is as follows.. > > 1. Can we use the ActiveMQStreamMessage for sending the massive large files > from CMS based producers to JMS based producers?
Are you just sending them as a byte array? If so then it seems like the BytesMessage would make more sense to use as there's a but more overhead involved in using the StreamMessage. > > 2. Is there any maximum limit for streaming buffer in ActiveMQStreamMessage? > If so, what would be that value? The Max size for a Byte array in either the StreamMessage or in the BytesMessage is the size of a signed int, or 2^31 bytes. > > 3. Do we still need to do the assemble or reassemble the data from the > messages? You have to do the work on either end to put it into the Message and get it back out again just as you would with any Message. > > Thanks, > Sahay Regards Tim. -- Tim Bish http://fusesource.com http://timbish.blogspot.com/