Why not just have the route that processes the ActiveMQ message treat the situation where the FTP file has not arrived yet as a recoverable error and retry it after a delay?
Thanks, Joe > On Mar 17, 2016, at 9:45 AM, Stanisław Kuś <[email protected]> wrote: > > Hi Claus, > > currently we have two messages - one with some "form data" and the second > with a big payload. The first goes via JMS, the second with FTP. The > problem is we want to process both as the JMS Message arrives ( JMS could > be faster than ftp ). The solution we thought about was to get it with one > JMS Message including both, using this JMS/FTP Mix JMSBlobMessage from > ActiveMQ. Would it be possible to easy integrate it with camel using e.g. > Jms Component ? > > Best, > > Stan > >> On Thu, Mar 17, 2016 at 2:24 PM, Claus Ibsen <[email protected]> wrote: >> >> There is no BlobMessage in the JMS spec >> http://docs.oracle.com/javaee/6/api/javax/jms/Message.html >> >> ActiveMQ has some special for that >> http://activemq.apache.org/blob-messages.html >> >> Where you move big messages not over JMS but over something else like FTP. >> >> ITs really not recommended to use. If you need to move GB size >> messages, then do not use ActiveMQ but something else. >> >> >>> On Fri, Mar 11, 2016 at 5:02 PM, Stanisław Kuś <[email protected]> wrote: >>> Hi all, >>> >>> I have a question: does Camel support JMS BlobMessage out of the box ? >>> >>> What needs to be considered/set up to get it running? >>> >>> Thanks for answers in advance, >>> >>> Best, >>> >>> Stan >> >> >> >> -- >> Claus Ibsen >> ----------------- >> http://davsclaus.com @davsclaus >> Camel in Action 2: https://www.manning.com/ibsen2 >>
