Spring Boot 2

2018-03-02 Thread James Green
I'm guessing that the current Camel release just won't do... Caused by: java.lang.NoClassDefFoundError: org/springframework/boot/bind/RelaxedPropertyResolver at org.apache.camel.spring.boot.security.CamelSSLAutoConfiguration$Condition.getMatchOutcome(CamelSSLAutoConfiguration.java:51) at org.sprin

Re: Contract first with Swagger and Camel

2018-03-02 Thread Claus Ibsen
Hi Josh Reagan just blogged about contract-first as well http://blog.joshdreagan.com/2018/03/02/camel_cxfrs_contract_first/ On Thu, Mar 1, 2018 at 11:39 PM, Henrique Viecili wrote: > Thanks Claus! > > It's better than what I had found by myself: > https://github.com/swagger-api/swagger-codegen/

Re: Spring Boot 2

2018-03-02 Thread Claus Ibsen
Hi See the top of the release notes http://camel.apache.org/camel-2210-release.html On Fri, Mar 2, 2018 at 3:30 PM, James Green wrote: > I'm guessing that the current Camel release just won't do... > > Caused by: java.lang.NoClassDefFoundError: > org/springframework/boot/bind/RelaxedPropertyReso

Re: Spring Boot 2

2018-03-02 Thread Andrea Cosentino
Actually there is a branch boot2 in apache camel repo, based on camel-2.21.0-SNAPSHOT, with some work about Spring Boot 2. The target release for fully support Spring Boot 2 is 2.22.0 -- Andrea Cosentino  -- Apache Camel PMC Member Apache Karaf Committer Apache Se

Re: Are there simple instructions on how to debug camel routes with Intellj

2018-03-02 Thread Claus Ibsen
Hi That is not as simple. A good way is to add inlined processors and set your breakpoints in there, then the regular Java debugger can stop there. There is a EIP / GUI debugger that comes with the Camel Fuse tools for Eclipse, and also in the hawtio web console. But for IDEA there is nothing of

Re: Spring Boot 2

2018-03-02 Thread James Green
Thanks for the quick replies - we'll hold fire for 2.21. On 2 March 2018 at 14:33, Andrea Cosentino wrote: > Actually there is a branch boot2 in apache camel repo, based on > camel-2.21.0-SNAPSHOT, with some work about Spring Boot 2. > > The target release for fully support Spring Boot 2 is 2.22

Re: Spring Boot 2

2018-03-02 Thread James Green
Bah, 2.22, YKWIM! On 2 March 2018 at 14:43, James Green wrote: > Thanks for the quick replies - we'll hold fire for 2.21. > > On 2 March 2018 at 14:33, Andrea Cosentino wrote: > >> Actually there is a branch boot2 in apache camel repo, based on >> camel-2.21.0-SNAPSHOT, with some work about Spr

Re: Spring Boot 2

2018-03-02 Thread Claus Ibsen
Hi Well when 2.21 is out the door and its 2.21.x branch is setup, then we would likely fairly quickly get the master branch update to SB2 / Spring 5 and hit the issues there and then you guys can help test the stuff with the SNAPSHOT builds of Camel. They are published to the ASF Maven snapshot r

Re: Spring Boot 2

2018-03-02 Thread Mark Nuttall
I will help test. I have quite a few things using Spring Boot and Camel and would like to update as soon as i can :) On Fri, Mar 2, 2018 at 10:01 AM, Claus Ibsen wrote: > Hi > > Well when 2.21 is out the door and its 2.21.x branch is setup, then we > would likely fairly quickly get the master br

Using Camel route JMX notifiers

2018-03-02 Thread Scott Cornell
Hi all - started playing w/the JMX features of Camel via my RH Fuse ESB. Got a question about what's available out of the box. Browsing the JMX url via jconsole, I see 3 mBeans of "type=eventnotifiers" under each Camel context I have running. These mBeans list about 20 or so notifications cov

Re: Using Camel route JMX notifiers

2018-03-02 Thread Claus Ibsen
Hi Yes you need to setup that JmxNotificationEventNotifier as its the one that has support for JMX broadcasting notifications. On Fri, Mar 2, 2018 at 5:59 PM, Scott Cornell wrote: > Hi all - started playing w/the JMX features of Camel via my RH Fuse ESB. Got > a question about what's availabl

Re: Camel Salesforce Component - getBatch

2018-03-02 Thread Claus Ibsen
Hi What version of Camel do you use? On Thu, Mar 1, 2018 at 9:12 AM, satyanarayana katta wrote: > Hi, > > I was trying to use the Camel Salesforce Component for doing the Bulk > Upload. All the steps of the bulk upload works fine like > 1. salesforce:createJob - Works fine > 2. salesforce:crea

Unit Test Polling Consumer

2018-03-02 Thread Karel Bernolet
Hello, --short version -- I am trying to unit test a route calling a polling consumer (currently a http endpoint) Unfortunately, mock endpoints do not support consumers. Is there an equivalent to mock endpoints to be used in case of a polling consumer? I currently replace the endpoint with a sed

Google Service account for google-drive component

2018-03-02 Thread Shultz, Dmitry
Hi All, There is a backend service riding Camel that supposed to upload files to the Google Drive. All data is generated by the service itself, so I want to use the Google Service Account for the Google authentication/authorization. I created the service account, generated json key (as describe

Re: Camel Salesforce Component - getBatch

2018-03-02 Thread satyanarayana katta
We are using camel version 2.20.1. One more interesting thing I found. When I use the camel salesforce component in routes, everything works fine. from("salesforce:createJob") .to("salesforce:createBatch") .to("salesforce:getAllBatches") .dowhile() ==> to check if the getBatch for all batches