camel-google-mail NPE null configuration

2016-10-10 Thread xuloo
I'm trying to simply list the messages in a gmail inbox. I've imported camel-google-mail 2.17.0 I've created the access/refresh tokens for the correct client/secret for the gmail account. I've configured the component in a simple route via java api (google-mail://messages/list?clientId=) When

Load interceptors in XML file in camel application based on spring boot

2016-10-10 Thread sridharb
I am able to separate out the route definitions and rest-dsl routes in separate XML files in the folders camel and camel-rest in my Camel Application based on Spring boot. They are also loaded successfully upon startup. I now want to add interceptors to the routes so that I can have cross cutting

Re: camel swagger doesn't support array of objects as input type

2016-10-10 Thread fabryprog
An array isn't a JSON BUT There is a mode to add this "special case" using dataFormatProperty tag! -- View this message in context: http://camel.465427.n5.nabble.com/camel-swagger-doesn-t-support-array-of-objects-as-input-type-tp5788557p5788563.html Sent from the Camel - Users mailing list a

Re: Skip duplicate for idempotent file2 component

2016-10-10 Thread sian
Problem has been solved by using two different keys for the idempotentConsumer and idempotentRepository then setting readLockRemoveOnCommit=true so once the readlock has been released by the node consuming the file, it is removed from the repository. This leaves the idempotentConsumer to record and

RE: Camel route with AMQP consumer runs ok in Eclipse, hangs in karaf

2016-10-10 Thread Steve Huston
Thank you SO much! That fixed it. > -Original Message- > From: souciance [mailto:souciance.eqdam.ras...@gmail.com] > Sent: Monday, October 10, 2016 6:22 AM > To: users@camel.apache.org > Subject: Re: Camel route with AMQP consumer runs ok in Eclipse, hangs in > karaf > > Hi Steve > > I t

Spring XML definitions for custom Processors

2016-10-10 Thread idioma
Hi, I have just created a custom Processor that does some JSON-schema validation on the incoming messages, but I am not sure how I can define your own root element in Spring XML. I have tried to modify the definition of the validate root element, so that I would have something like "customValidate"

Re: Swagger validation with camel-swagger

2016-10-10 Thread idioma
Claus, thank you so much for your reply, it is very much clear now. Have a good day, I. -- View this message in context: http://camel.465427.n5.nabble.com/Swagger-validation-with-camel-swagger-tp5788403p5788559.html Sent from the Camel - Users mailing list archive at Nabble.com.

camel swagger doesn't support array of objects as input type

2016-10-10 Thread Sw1m1k
Hello, I have a problem with swagger rest dsl. I have a rest service with input and output type- array of objects, for method POST: Create Products Problem is that came

Re: Camel route with AMQP consumer runs ok in Eclipse, hangs in karaf

2016-10-10 Thread souciance
Hi Steve I think I wrote a comment on stackoverflow for you. Best Souciance On Mon, Oct 10, 2016 at 11:15 AM, Steve Huston [via Camel] < ml-node+s465427n5788554...@n5.nabble.com> wrote: > I posted this in stackoverflow, hoping for some expertise here. I would > really appreciate some hel from t

Re: Camel-Mail - Consume from IMAP with variable searchTerm.fromSentDate

2016-10-10 Thread Michael Täschner
Hi Claus, do you see a possibility that the MailConsumer can be extended to support dynamic parameters? Especially SearchTerms like "SentDate" are rather dynamic in nature - otherwilse mails will be polled over and over again if other searchTerms like "unseen" cannot be applied. Thanks and Best R

Re: Skip duplicate for idempotent file2 component

2016-10-10 Thread sian
Hi Joe, Thanks for the response. I am using a database table as the repository for the idempotent consumer as you described. My issue is that if I use the idempotentRepository file component (as required to use the idempotent readlock) then I cannot find a way to move the file out of the director

Camel route with AMQP consumer runs ok in Eclipse, hangs in karaf

2016-10-10 Thread Steve Huston
I posted this in stackoverflow, hoping for some expertise here. I would really appreciate some hel from the experts. Camel route with AMQP consumer runs ok in Eclipse, hangs in karaf http://stackoverflow.com/q/39939964/240342?sem=2 Thanks! -Steve