Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12102

Camel-box quickstart is not working

XMLWordPrintable

    • % %
    • Hide

      Changing this line - link - to

      <to uri="box:files/uploadFile?check=false"/>
      

      has fixed the problem.

      Show
      Changing this line - link - to <to uri= "box:files/uploadFile?check= false " /> has fixed the problem.
    • Hide

      Just follow the steps from Readme file in camel-box quickstart.

      Show
      Just follow the steps from Readme file in camel-box quickstart.
    • Fuse 7.6 - Sprint 55 (1/4)

      We are trying to run camel-box quickstart in karaf and we are getting the following error:

      Message History
      ---------------------------------------------------------------------------------------------------------------------------------------
      RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
      [box-route         ] [box-route         ] [file://work/box/input                                                         ] [         2]
      [box-route         ] [log1              ] [log                                                                           ] [         1]
      [box-route         ] [log2              ] [log                                                                           ] [         1]
      [box-route         ] [convertBodyTo1    ] [convertBodyTo[java.io.InputStream]                                            ] [         0]
      [box-route         ] [setHeader1        ] [setHeader[CamelBox.parentFolderId]                                            ] [         0]
      [box-route         ] [setHeader2        ] [setHeader[CamelBox.fileName]                                                  ] [         0]
      [box-route         ] [setHeader3        ] [setHeader[CamelBox.content]                                                   ] [         0]
      [box-route         ] [to1               ] [box:files/uploadFile                                                          ] [         0]
      
      Stacktrace
      ---------------------------------------------------------------------------------------------------------------------------------------
      org.apache.camel.RuntimeCamelException: Missing properties for uploadFile, need one or more from [size, created, listener, modified, check]
      	at org.apache.camel.util.component.AbstractApiProducer.findMethod(AbstractApiProducer.java:149) ~[!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.util.component.AbstractApiProducer.process(AbstractApiProducer.java:69) ~[!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) ~[!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) [!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) [!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:452) [!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:219) [!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:183) [!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [!/:2.21.0.fuse-750032-redhat-00001]
      	at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [!/:2.21.0.fuse-750032-redhat-00001]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_222]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_222]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_222]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
      

      It seems in this commit - link - there was a new feature added, but quickstart was not updated accrodingly.

              yfang@redhat.com Freeman(Yue) Fang
              jsolovjo Juri Solovjov
              Juri Solovjov Juri Solovjov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: