RE: [EXTERNAL] Re: ${header.CamelHttpResponseCode} getting lost?

2017-07-12 Thread Vanshul . Chawla
Yes that’s correct. If we disable default throw exception behavior, then we can capture the http error code. Else we will get only original message and exception stack. Still in exception stack, you will get http error code also. Vanshul -Original Message- From: Doug Douglass [mailto:do

Re: ${header.CamelHttpResponseCode} getting lost?

2017-07-12 Thread Doug Douglass
My understanding after reading http://camel.apache.org/http4.html is, if you want to handle all HTTP status response codes yourself using message headers, you should add throwExceptionOnFailure=false to your endpoint. Otherwise you can get the status code from the exception itself e.g. exception.st

${header.CamelHttpResponseCode} getting lost?

2017-07-12 Thread Ranabroto
Hello I have below route org.apache.camel.http.common.HttpOperationFailedException true ${header.CamelH

Re: Configuration problems with Spring Boot and ActiveMQ

2017-07-12 Thread Preben.Asmussen
There is some discussions about this here http://camel.465427.n5.nabble.com/spring-activemq-broker-url-not-set-correct-on-Activemq-Spring-Boot-td5799927.html And a amq ticket here https://issues.apache.org/jira/browse/AMQ-6694 The workaround is to use the jms component instead of the activemq one

Re: Configuration problems with Spring Boot and ActiveMQ

2017-07-12 Thread Knut-Håvard Aksnes
Typo by me: The port number in the failure message is 61616 not 16161. The important point is that the client is searching for the default address not the configurated one. -- View this message in context: http://camel.465427.n5.nabble.com/Configuration-problems-with-Spring-Boot-and-ActiveMQ-tp

Configuration problems with Spring Boot and ActiveMQ

2017-07-12 Thread Knut-Håvard Aksnes
Problem: The activemq Camel component doesn't honor spring.activemq.broker-url Versions affected: At least Camel 2.19.1 with Spring Boot 1.5.4 and current Camel 2.20.0 snapshot. Hos to reproduce: 1) Check out camel-example-spring-boot-activemq 2) Uncomment the spring.activemq.broker-url line an

Re: Why is JMX gone after upgrading to Camel 2.18.x?

2017-07-12 Thread Henrik Brautaset Aronsen
I created an issue for this: https://issues.apache.org/jira/browse/CAMEL-11536 Henrik On Tue, Jul 11, 2017 at 4:03 PM, Henrik Brautaset Aronsen < henrik.aron...@gmail.com> wrote: > Hi Claus. > > I've added an example project at https://github.com/henrik242/camel218jmx > > SomeTest shows how came