Recieving BlobMessages routed with Camel

2010-04-26 Thread GibKing
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 fr

Re: Recieving BlobMessages routed with Camel

2010-05-06 Thread GibKing
Hi Claus, this actually works only with a single route. public class FileHandler{ @Handler public void onMessage(Exchange exchange){ exchange.getIn().getBody().getClass() == ActiveMQBlobMessage } but with this routing(tested on single broker and network of 2 brokers):

Re: Recieving BlobMessages routed with Camel

2010-05-06 Thread GibKing
On my way home i thought about it and came to the conclusion that there maybe a bug in camel handling the outgoing exchange. Im going to look at the camel-source if i can find anything... -- View this message in context: http://old.nabble.com/Recieving-BlobMessages-routed-with-Camel-tp28367084p2