Hi everyone, i like to send files over ActiveMQ using the following setup.
Code snippet to send the file: BlobMessage message = session.createBlobMessage(inputStream); message.setJMSType("Filetransfer"); message.setStringProperty("Filename", filename); ActiveMQQueue queue = (ActiveMQQueue) session.createQueue("filequeue"); MessageProducer producer = session.createProducer(queue); producer.send(message); Camel Configuration snippet: (camel.xml) <route> <from uri="activemq:filequeue"> <to uri="bean:filehandler"> </route> <!-- beanconfiguration.... --> An finally the filehandler: public class FileHandler{ @Handler public void onMessage(Exchange exchange){ .... } My question is how i can get an ActiveMQBlobMessage (or the InputStream) inside my filehandler. Is this possible after all? greets GibKing -- View this message in context: http://old.nabble.com/Recieving-BlobMessages-routed-with-Camel-tp28367084p28367084.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.