Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread Claus Ibsen
from("timer://someTrigger?delay=3&fixedRate=true&period=30"). >>>>>>>>>>>>>>> pollEnrich("ftp://cmoreFtp?binary=true&localWorkDirectory=/tmp&idempotent=true&idempote

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread shirazi
;>>>>>>>>>>>> file:///tmp/vw/cmore?tempPrefix=.inprogress_, Pattern:InOnly, >>>>>>>>>>>>>> Headers:{firedTime=Fri Nov 27 12:36:56 CET 2009}, >>>>>>>>>>>>>> Exception:org.apache.camel.componen

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread Claus Ibsen
gt;>>>>>>>>>> 12:37:06,899 ERROR [TimerConsumer] Cannot store file: >>>>>>>>>>>>> /tmp/vw/cmore/.inprogress_02216f38-8ffc-4aec-b638-27229d857075 >>>>>>>>>>>>> org.apache.camel.component.file.Gener

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread shirazi
tionFailedException: >>>>>>>>>>>> Cannot >>>>>>>>>>>> store file: >>>>>>>>>>>> /tmp/vw/cmore/.inprogress_02216f38-8ffc-4aec-b638-27229d857075 >>>>>>>>&

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread Claus Ibsen
g.apache.camel.processor.SendProcessor$1.doInProducer(SendProcessor.java:97) >>>>>>>>>>>        at >>>>>>>>>>> org.apache.camel.processor.SendProcessor$1.doInProdu

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread shirazi
cessor.SendProcessor.doProcess(SendProcessor.java:94) >>>>>>>>>>        at >>>>>>>>>> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:82) >>>&g

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread Claus Ibsen
ocessor.processNext(DelegateProcessor.java:53) >>>>>>>>>        at >>>>>>>>> org.apache.camel.processor.DelegateProcessor.proceed(DelegateProcessor.java:82) >>>>>>>>>        at >>>>>>>>>

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread shirazi
InstrumentationProcessor.process(InstrumentationProcessor.java:67) >>>>>>>>        at >>>>>>>> org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:206) >>>>>>>>        at >>>>>>>> org.apache.camel.p

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread Claus Ibsen
aultChannel.process(DefaultChannel.java:206) >>>>>>>>        at >>>>>>>> org.apache.camel.processor.Pipeline.process(Pipeline.java:74) >>>>>>>>        at >>>>>>>> org.apache.camel.processor.TryProcessor.process(TryPr

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread Claus Ibsen
ssor.processNext(DelegateProcessor.java:53) >>>>>>>        at >>>>>>> org.apache.camel.processor.DelegateProcessor.proceed(DelegateProcessor.java:82) >>>>>>>        at >>>>>>> org.apache.camel.processo

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread shirazi
cess(InstrumentationProcessor.java:67) >>>>>>        at >>>>>> org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:206) >>>>>>        at >>>>>> org.apache.camel.processor.UnitOfWorkProcessor.processNext(UnitOfWorkProcessor.j

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread Claus Ibsen
va:48) >>>>>        at >>>>> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:67) >>>>>        at >>>>> org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:103) >&g

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread shirazi
t;        at >>>> org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:50) >>>>        at java.util.TimerThread.mainLoop(Timer.java:512) >>>>        at java.util.TimerThread.run(Timer.java:462) >>>> Caused by: org.apache.camel.In

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread Claus Ibsen
th value null on the exchange: Exchange[Message: >>> [Body >>> is null]] >>>        at >>> org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:103) >>>        at >>> org.apache.camel.util.ExchangeHelper.getMandatoryInBody(Exchange

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread shirazi
e.FileOperations.storeFile(FileOperations.java:198) >>        ... 29 more >> Caused by: org.apache.camel.NoTypeConversionAvailableException: No type >> converter available to convert from type: null to the required type: >> java.io.InputStream with value null >>        at >&g

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread Claus Ibsen
lue null >        at > org.apache.camel.impl.converter.DefaultTypeConverter.mandatoryConvertTo(DefaultTypeConverter.java:126) >        at > org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSupport.java:101) >        ... 31 more > > Now, I can remedy

Re: camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread Claus Ibsen
o type > converter available to convert from type: null to the required type: > java.io.InputStream with value null >        at > org.apache.camel.impl.converter.DefaultTypeConverter.mandatoryConvertTo(DefaultTypeConverter.java:126) >        at > org.apache.camel.impl.MessageSupport.g

camel casts exception when there is nothing to fetch from the ftp endpoint

2009-11-27 Thread shirazi
ck or an interceptor, but in my opinion this should be considered a bug in camel and it should silently ignore if there was nothing to fetch from the ftp. Bests, Farhad Shiraz -- View this message in context: http://old.nabble.com/camel-casts-exception-when-there-is-nothing-to-fetch-from