w this message in context:
http://camel.465427.n5.nabble.com/Camel-Spring-HTTP-Consumer-using-remote-Rest-web-service-tp5757395p5757452.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Ok, I now have this working. I needed to add a ? before the apikey in the
https uri.
Thanks to all for the help.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Spring-HTTP-Consumer-using-remote-Rest-web-service-tp5757395p5757450.html
Sent from the Camel - Users
el.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
e how to set the body type to application/json when
> sending
> the data to the web service?
>
> Thank you
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Spring-HTTP-Consumer-using-remote-Rest-web-service-tp5757395p5757420.html
>
plication/json when sending
> the data to the web service?
>
> Thank you
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Spring-HTTP-Consumer-using-remote-Rest-web-service-tp5757395p5757420.html
>
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
I fixed this issue now by using a timer instead of direct:start.
Can anyone tell me how to set the body type to application/json when sending
the data to the web service?
Thank you
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Spring-HTTP-Consumer-using-remote-Rest
appreciated.
Thank you
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Spring-HTTP-Consumer-using-remote-Rest-web-service-tp5757395p5757416.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ing.xsd
> http://camel.apache.org/schema/spring
> http://camel.apache.org/schema/spring/camel-http.xsd";>
>
> http://camel.apache.org/schema/spring";>
>
>
>
> POST
>
> uri="https://api.host.com/api/v3.1/link/query/place/?apiKey=1234"/>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-Spring-HTTP-Consumer-using-remote-Rest-web-service-tp5757395.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-http.xsd";>
http://camel.apache.org/schema/spring";>
POST