Re: EventNotifierSupport and Threads

2016-04-02 Thread edhansen42
We are actually storing state in the Exchange. Our routes are boilerplate code that end up invoking a beanref. This beanref class has no knowledge of Camel - it just has our injected Bean. Our developers can work on their business logic without having to know anything about Camel. They can acce

Camel depends on Spring bean

2016-04-02 Thread raffi
My routes depend on a Spring bean that must be initialized before use. I'm using Spring *PostConstruct* and Camel's *depends-on*, seems to work fine, want to make sure it's a valid approach... @PostConstruct public void init(){ ... } -- View this message in context: http://camel.465427.

RE: How to return early from a direct: subroute?

2016-04-02 Thread bocamel
Quinn, Thanks for the response. I think filter would be the closest solution to what I was looking for – better than what I contemplated to do with setting some headers and using in the route. But they all have a problem with a long route having multiple steps:

Re: How to return early from a direct: subroute?

2016-04-02 Thread Quinn Stevenson
What about using a filter? I think that can do what you’re after. > On Apr 2, 2016, at 8:40 PM, bocamel wrote: > > Taariq, > > > > Thank you very much for your response. I think your suggestion is very > interesting, though it was not exactly what I was looking for. > > > > Conceptually

RE: How to return early from a direct: subroute?

2016-04-02 Thread bocamel
Taariq, Thank you very much for your response. I think your suggestion is very interesting, though it was not exactly what I was looking for. Conceptually, to me, a direct: route is just a method call. But I cannot find an easy way to exit/return from such a method before it reaches its

Re: Camel Design Patterns ebook

2016-04-02 Thread Brad Johnson
Hear, hear. I just bought it yesterday and like it very much. I'll probably recommend it to some of my clients. Brad On Sat, Apr 2, 2016 at 6:01 AM, Claus Ibsen wrote: > Hi > > Bilgin, its an awesome book you have done. > > I have enjoyed reading the patterns so far I have got. Love that you

Re: Problem with feature camel-spring 2.17.0

2016-04-02 Thread Arnaud Deprez
Alright, I didn't see that yesterday. Thx Claus :-) On Sat, Apr 2, 2016 at 1:04 PM Claus Ibsen wrote: > There is a ticket about moving spring-dm out > https://issues.apache.org/jira/browse/CAMEL-9521 > > > > On Fri, Apr 1, 2016 at 10:53 PM, Arnaud Deprez > wrote: > > Hi folks, > > > > With came

camel-spark getting started

2016-04-02 Thread geoHeil
Hi, the new camel spark (http://camel.apache.org/apache-spark.html) component looks very interesting. However, I am unsure how to get started e.g. where to create the spark context / SQL context. Are there some more resources to get started than the aforementioned website? Is Hive required to ru

Re: Problem with feature camel-spring 2.17.0

2016-04-02 Thread Claus Ibsen
There is a ticket about moving spring-dm out https://issues.apache.org/jira/browse/CAMEL-9521 On Fri, Apr 1, 2016 at 10:53 PM, Arnaud Deprez wrote: > Hi folks, > > With camel 2.17.0, we migrate most spring dependencies to spring 4 (except > for spring-dm which is stuck to 3). > > However, if we

Re: Camel Design Patterns ebook

2016-04-02 Thread Claus Ibsen
Hi Bilgin, its an awesome book you have done. I have enjoyed reading the patterns so far I have got. Love that you start with the VETRO pattern that I have used a lot in the past. Back then in the old days, as an architect, you wrote many word documentations with text and figures. And many of our