Hi,

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.

Obviously you will need to strip out the tag when it is sent beyond the
boundaries of Servicemix.

Cheers,

Ashwin...


Lou Parisi wrote:
> 
> I have a pojo component I created that can send files using ActiveMQ
> BlobMessage from FtpFilePoller.  It uses FTP URL to send message to
> destination queue as BlobMessage type.  This works fine and is what I will
> use in production but for local development it would be easier to send
> using a local file but AMQ requires Jetty to to send a local file as a
> BlobMessage.  In the AMQ distribution, the Jetty server is started as part
> of the JMS broker but I haven't been able to get it to work in ServiceMix. 
> I can send a local file using BlobMessage with standalone app and
> standalone AMQ broker with default configuration but I can't get it to
> work in ServiceMix.  
> 
> Does anyone have information that would help me get the Jetty server
> running for AMQ BlobMessages in ServiceMix?
> 
> I tried adding the Jetty configuration in activemq.xml from the AMQ
> distribution to the AMQ configuration in servicemix (along with required
> libraries) but I couldn't get it to work.  Got error message that
> servicemix-jms could not start.
> 


-----
--- 
Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
--- 
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 
---- 
Blog: http://opensourceknowledge.blogspot.com/


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

Reply via email to