Question about Camel Connector

2019-03-06 Thread Willem Jiang
Hi, I think Camel Connector[1] is quit useful if we have some configuration need to be done on the component or endpoint level. I just found the codes of CamelConnector were removed in the camel 3.x. But there is not much discussion about it. May I know the reason why do we deprecate these connec

Re: Automatic documentation of a component

2019-03-06 Thread Claus Ibsen
Hi No it should not, but its the update-readme goal of the camel-package-maven-plugin that does this. Mind that this package tool is written with mind of helping with the Camel project itself, and not specific to Camel end users. So there can be some corner cases where you can't do the same. On

Re: Automatic documentation of a component

2019-03-06 Thread Stefan Ziegler
Does the code has to be in the "org.apache.camel.component" package? Or can it be anything? Stefan On Wed, Mar 6, 2019 at 3:52 PM Claus Ibsen wrote: > Hi > > Yeah the adoc file should be in src/main/docs and be named > > componentName-component.adoc > > so if the component is named acme, then i

RE: DeadLetterChannel handle option

2019-03-06 Thread Valdis Andersons
Hey, That's pretty much how I would understand it was well. Though I'm not setting the handled option explicitly anywhere in my route builders. To make the exchange go somewhere else in case of an exception you'd really just have to specify the deadLetterChannel in the errorHandler of your rout

Re: Automatic documentation of a component

2019-03-06 Thread Claus Ibsen
Hi Yeah the adoc file should be in src/main/docs and be named componentName-component.adoc so if the component is named acme, then it should be acme-component.adoc On Wed, Mar 6, 2019 at 2:58 PM Stefan Ziegler wrote: > > Hi > > I used the maven archetype so I think it should be all there. >

4 Apache Events in 2019: DC Roadshow soon; next up Chicago, Las Vegas, and Berlin!

2019-03-06 Thread Rich Bowen
Dear Apache Enthusiast, (You’re receiving this because you are subscribed to one or more user mailing lists for an Apache Software Foundation project.) TL;DR: * Apache Roadshow DC is in 3 weeks. Register now at https://apachecon.com/usroadshowdc19/ * Registration for Apache Roadshow Chicago is

Re: Automatic documentation of a component

2019-03-06 Thread Stefan Ziegler
Hi I used the maven archetype so I think it should be all there. Which names have to match? The name of the .adoc file must be identical to ...? regards Stefan On Wed, Mar 6, 2019 at 12:48 PM Claus Ibsen wrote: > Hi > > You need to have a maven plugin added and another dependency. > > See thi

DeadLetterChannel handle option

2019-03-06 Thread Wang Yan
Hello All, based on below document if handle =false the message will be propagated to caller when exception happened if handle=true, the message will not be propagated to caller but somewhere else as you can define . is my understanding correct? http://camel.apache.org/dead-letter-channel.html Th

Re: Automatic documentation of a component

2019-03-06 Thread Claus Ibsen
Hi You need to have a maven plugin added and another dependency. See this pom https://github.com/apache/camel/blob/camel-2.x/connectors/examples/beverage-component/pom.xml Also the maven archetype for component should include all of this also. On Wed, Mar 6, 2019 at 12:07 PM Stefan Ziegler wro

Automatic documentation of a component

2019-03-06 Thread Stefan Ziegler
Hi I'm writing my first apache camel component: https://github.com/edigonzales/camel-ili2pg I'm wondering how to get the automatic documentation of the component and endpoint options in the asciidoc file? I have put an emtpy .adoc file in src/main/docs/ only with // component options: START // c

Re: imaps component not retrieving specified number of messages

2019-03-06 Thread Claus Ibsen
Hi Yeah we can likely improve this to avoid fetching all the mails. You are welcome to log a JIRA and work on a patch as github PR. http://camel.apache.org/support.html https://github.com/apache/camel/blob/master/CONTRIBUTING.md On Wed, Mar 6, 2019 at 9:54 AM js504 wrote: > > Hello, > > I am try

imaps component not retrieving specified number of messages

2019-03-06 Thread js504
Hello, I am trying to poll a gmail account to process emails using the camel-mail version 2.23.0 imaps component and the Java DSL. There are thousands of emails I need to process but I am trying to split it up so as to not overload anything. I have tried setting maxMessagesPerPoll and fetchSiz