Thank you for the reply.  I am getting the bellow error now when executing my
camel context, and I want to know if this is being returned from the web
service or if this is an internal error from camel?  If it is in my camel
context is there something different that I should be doing here?  Thanks
again for the help, and sorry for any n00b questions but I am new to camel.

org.apache.camel.component.http.HttpOperationFailedException: HTTP operation
failed invoking https://api.host.com/api/v3.1/link/query/place/?apiKey=1234
with statusCode: 500
        at
org.apache.camel.component.http.HttpProducer.populateHttpOperationFailedException(HttpProducer.java:228)
        at
org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:156)
        at
org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
        at 
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:110)
        at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)
        at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)
        at
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
        at
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
        at
org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:139)
        at
org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:64)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
[mel-1) thread #0 - timer://foo] TimerConsumer                  WARN  Error
processing exchange. Exchange[Message: { 

    "sinceTime": time, 

    "untilTime": time, 

    "timezoneOffset": 0, 

    "details": { 

        "widgetType": "Place" 

    }, 

    "filters": [ 

        { 

            "dimension": "SOURCE", 

            "filterValues": [ 

                "Site1", 

                "Site2" 

          

            ] 

        } 

    ], 

    "metric": "TEST", 

    "start": 0, 

    "rows": 200 

}]. Caused by: [org.apache.camel.component.http.HttpOperationFailedException
- HTTP operation failed invoking
https://api.host.com/api/v3.1/link/query/place/?apiKey=1234 with statusCode:
500]
org.apache.camel.component.http.HttpOperationFailedException: HTTP operation
failed invoking https://api.host.com/api/v3.1/link/query/place/?apiKey=1234
with statusCode: 500
        at
org.apache.camel.component.http.HttpProducer.populateHttpOperationFailedException(HttpProducer.java:228)
        at
org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:156)
        at
org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
        at 
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:110)
        at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)
        at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)
        at
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
        at
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
        at
org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:139)
        at
org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:64)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Spring-HTTP-Consumer-using-remote-Rest-web-service-tp5757395p5757449.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to