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

Camel-amq quickstart is not processing files

    XMLWordPrintable

Details

    • % %
    • Hide

      1. follow instuctions in quickstart Readme.

      Show
      1. follow instuctions in quickstart Readme.
    • Sprint 7 - towards CR2

    Description

      After following instructions for camel-amq quickstart and copying the files(order1.xml..) to $FUSE_HOME/instances/mychild/work/jms/input/order1.xml the files are not processed. There is error in mychild log:

      2016-07-18 12:52:26,715 | WARN  | //work/jms/input | GenericFileOnCompletion          | 119 - org.apache.camel.camel-core - 2.17.0.redhat-630133 | Rollback file strategy: org.apache.camel.component.file.strategy.GenericFileRenameProcessStrategy@5a5bfc6c for file: GenericFile[order4.xml]
      2016-07-18 12:52:26,715 | INFO  | //work/jms/input | file-to-jms-route                | 119 - org.apache.camel.camel-core - 2.17.0.redhat-630133 | Receiving order order2.xml
      2016-07-18 12:52:26,715 | ERROR | //work/jms/input | DefaultErrorHandler              | 119 - org.apache.camel.camel-core - 2.17.0.redhat-630133 | Failed delivery for (MessageId: ID-jan-ThinkPad-T450s-42870-1468838590725-0-8927 on ExchangeId: ID-jan-ThinkPad-T450s-42870-1468838590725-0-8928). Exhausted after delivery attempt: 1 caught: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[ID-jan-ThinkPad-T450s-42870-1468838590725-0-8928]n  | n  | Message Historyn  | ---------------------------------------------------------------------------------------------------------------------------------------n  | RouteId              ProcessorId          Processor                                                                        Elapsed (ms)n  | [file-to-jms-route ] [file-to-jms-route ] [file://work/jms/input                                                         ] [         0]n  | [file-to-jms-route ] [log1              ] [log                                                                           ] [         0]n  | [file-to-jms-route ] [to1               ] [amq:incomingOrders                                                            ] [         0]n  | n  | Stacktracen  | ---------------------------------------------------------------------------------------------------------------------------------------
      org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[ID-jan-ThinkPad-T450s-42870-1468838590725-0-8928]
      	at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1706)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.impl.DefaultExchange.setException(DefaultExchange.java:348)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:159)[120:org.apache.camel.camel-jms:2.17.0.redhat-630133]
      	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:145)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:226)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:190)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:175)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:102)[119:org.apache.camel.camel-core:2.17.0.redhat-630133]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_79]
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)[:1.7.0_79]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)[:1.7.0_79]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.7.0_79]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
      	at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
      Caused by: java.lang.NoClassDefFoundError: org/apache/camel/component/jms/JmsProducer$2
      	at org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:299)
      	at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:154)
      	... 19 more

      Attachments

        1. fuse.log
          374 kB
        2. mybroker.log
          245 kB
        3. mychildlog.log
          2.28 MB

        Activity

          People

            janstey@redhat.com Jonathan Anstey
            jkasztur@redhat.com Jan Kasztura (Inactive)
            Jan Kasztura Jan Kasztura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: