Health not working with CXF and SpringBoot

2018-01-05 Thread Imran Raza Khan
Hi, I want to extend below Camel-CXF and SpringBoot example to provide health status on /health, i tried adding org.springframework.boot spring-boot-starter-actuator But no success, any suggestion?

Re: Problem with camel-aws S3 when multiPartUpload is set to true

2018-01-05 Thread Artur Jablonski
Try setting region on your AmazonS3Client bean. On Fri, Jan 5, 2018 at 3:19 AM, kretin wrote: > I created a simple camel route to poll for files in a local directory and > upload them to a Ceph (S3) server at my University. I am using apache camel > 2.20.0 with the camel-aws S3

Re: Apache camel with spring 5.x

2018-01-05 Thread Andrea Cosentino
No, 2.20.x is based on spring 4. --Andrea Cosentino --Apache Camel PMC MemberApache Karaf CommitterApache Servicemix PMC MemberEmail: ancosen1985@yahoo.comTwitter: @oscerd2Github: oscerd On Friday, January 5, 2018, 12:58:14 PM GMT+1, Sujay Bawaskar

Re: Apache camel with spring 5.x

2018-01-05 Thread Sujay Bawaskar
Thanks Andrea! Any plan to upgrade to 5.x? I see even spring boot is also not available with spring 5x. On Fri, Jan 5, 2018 at 5:29 PM, Andrea Cosentino < ancosen1...@yahoo.com.invalid> wrote: > No, 2.20.x is based on spring 4. > --Andrea Cosentino --Apache Camel

Re: Error sending email from Camel application

2018-01-05 Thread Claus Ibsen
Hi >From the stacktrace it seems its some kind of header that is causing this jackson conversion as its .toString method is called. What objects do you store in the headers? Maybe use tracer, or debug your Camel application and see which header has the problem. On Thu, Jan 4, 2018 at 8:01 PM,

Re: Apache camel with spring 5.x

2018-01-05 Thread Claus Ibsen
Hi You can try using Spring 5, I don't think there is any problems using it with Camel 2.20.x etc. However Spring Boot 2 is not API compatible and you cannot use it with Camel yet. Support for this will come later (Camel 2.22 or later). On Fri, Jan 5, 2018 at 12:58 PM, Sujay Bawaskar

Re: Error sending email from Camel application

2018-01-05 Thread Charles Berger
The route is taking properties from a POJO and building up a message to use to send an email. I add the from, to & subject headers in the route which are just string values. The message body is created using a Velocity template which extracts some values from the POJO. I included some tracers

Apache camel with spring 5.x

2018-01-05 Thread Sujay Bawaskar
Hi, Is camel 20.x compatible with spring 5.x? Or do we have to wait for a release? -- Thanks, Sujay P Bawaskar M:+91-77091 53669

Re: Problem with camel-aws S3 when multiPartUpload is set to true

2018-01-05 Thread kretin
I tried adding a region like this and it still fails with the same error: > On Jan 5, 2018, at 4:23 AM, Artur Jablonski wrote: > > Try setting region on your AmazonS3Client bean. > > On Fri, Jan 5, 2018 at 3:19 AM, kretin wrote: > >> I created a

Re: Problem with camel-aws S3 when multiPartUpload is set to true

2018-01-05 Thread Andrea Cosentino
If you are passing the client as bean from registry, it makes no sense to define the region, you can set the region directly on the client you're passing. -- Andrea Cosentino  -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix PMC Member Email:

Re: Error sending email from Camel application

2018-01-05 Thread Charles Berger
Looks like I've managed to fix this, with some help from this post on StackOverflow: https://stackoverflow.com/questions/33397359/how-to-configure-jackson-objectmapper-for-camel-in-spring-boot What I did is to create a new ObjectMapper instance and disabled the

AW: Error sending email from Camel application

2018-01-05 Thread christian.jacob
Hi Charles, I'm not sure if I can help you out, but a couple of days ago I had an error with sending multiple REST requests to a remote server. I aggregated the responses values of each request in a complicated Map of Map of Maps structure that resided in the Camel header. After a couple of