Hi Ashwin,
Thanks for your reply.  I am able to send and consume a BlobMessage in
servicemix.  I wrote a custom POJO component to send the BlobMessage to a
queue and then a JMSMarshaler to read it from the queue and write out to the
local file system.

There are several ways to create a blob message in AMQ.  One is to use an
FTP URL to specify the file to send.  In that case AMQ uses the FTP server
to send the message.  This is what I have working.

It is also possible to send a blob message specifying a java.io.File.  In
this case AMQ has an embedded Jetty server to serve the file.  The Jetty
server is started when you startup the AMQ broker using the default settings
in the AMQ distribution.  I would like to get the same functionality in
servicemix because it would be easier for local development and testing to
be able to run this way.  I am trying to figure out how to configure AMQ in
servicemix so this functionality is available.



Ashwin Karpe wrote:
> 
> 
> Servicemix only supports XML based messages. If you need Servicemix to
> consume a BlobMessage, ensure that it is wrapped with a dummy tag such as
> <data></data>. Then it will be consumed without problems.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ActiveMQ-BlobMessage-with-ServiceMix-tp23148590p23154976.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to