Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Cap. 3 - Atividade 3

Estou com problemas nessa etapa do capítulo. Mesmo baixando o projeto do cap. 3 - atividade 3, adicionei o ultimo trecho de codigo da atividade, e o server aponta o seguinte erro (peguei apenas uma parte dele) :

Alguém poderia me ajudar?

Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
org.apache.camel.http.common.HttpOperationFailedException: HTTP operation failed invoking http://localhost:8080/ebook/item?clienteId=milhol@mnb.com&pedidoId=2451256&ebookId=SOA with statusCode: 404
    at org.apache.camel.component.http4.HttpProducer.populateHttpOperationFailedException(HttpProducer.java:256) ~[camel-http4-2.16.1.jar:2.16.1]
    at org.apache.camel.component.http4.HttpProducer.process(HttpProducer.java:178) ~[camel-http4-2.16.1.jar:2.16.1]
    at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:141) ~[camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) ~[camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.Pipeline.process(Pipeline.java:121) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.Pipeline.process(Pipeline.java:83) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.FilterProcessor.process(FilterProcessor.java:57) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:668) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:596) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:237) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.Splitter.process(Splitter.java:104) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.Pipeline.process(Pipeline.java:121) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.Pipeline.process(Pipeline.java:83) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:442) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:214) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:178) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [camel-core-2.16.1.jar:2.16.1]
    at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [camel-core-2.16.1.jar:2.16.1]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_172]
    at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [?:1.8.0_172]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) [?:1.8.0_172]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:1.8.0_172]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_172]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_172]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_172]
1 resposta
solução!

Problema solucionado! Havia um erro na URL.