On Tue, Mar 2, 2010 at 8:42 AM, Norman Maurer <nor...@apache.org> wrote: > Hi all, > > we just switched to using Camel + Activemq for message routing and > spooling in JAMES. At the moment we store the whole MimeMessage as a > byte array in the payload of the Exchange. This is super inefficient > because of the possibility of very big emails. So I consider using > BlobMessages for storing the MimeMessage out of the band. So is there > any example in sending a BlobMessage via ProducerTemplate ? >
By out of band I assume you mean the claim check EIP? http://camel.apache.org/claim-check.html And BlobMessage is it the AMQ type? org.apache.activemq.BlobMessage I recon you need to grab the InputStream from the BlobMessage to be used as the body to be send using ProducerTemplate. > > Thx, > Norman > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus