Curious about the future of data-driven systems? Join our Data Engineering roundtable and learn how to build scalable data platforms.
Data Engineering: The industry has come a long way from organizing unstructured data to adopting today's modern data pipelines. See how.
My passion is in practical software engineering. See my thoughts on https://zemian.github.io NOTE: The views expressed on my blog and social network are my own and do not necessarily reflect the views of my employer.
Stats
| Reputation: | 55 |
| Pageviews: | 2.1M |
| Articles: | 38 |
| Comments: | 11 |
Comments
Nov 01, 2014 · James Sugrue
@Jonathan, thanks for the HttpClient note!
Aug 26, 2013 · ggboy boygg
Hello Andrej, thanks for the feedback.
You are right that Camel bean can be any POJO without even implementing Processor interface. I used in my example because I didn't want to bring out the bean component features, but simply wanted users to see how to get started with Camel. I wanted focus on the Main and Context part with minimal Route info. They can explore each components on those doc mentioned.
Also, just to point out that one benefit of using bean with Processor interface vs plain POJO is that you gain performance without have to write explicit TypeConverter!
As for the code format, I don't have control over here on Dzone. Maybe you can read the same article on my original post, since it has different format.
--
Zemian
Aug 26, 2013 · ggboy boygg
Hello Andrej, thanks for the feedback.
You are right that Camel bean can be any POJO without even implementing Processor interface. I used in my example because I didn't want to bring out the bean component features, but simply wanted users to see how to get started with Camel. I wanted focus on the Main and Context part with minimal Route info. They can explore each components on those doc mentioned.
Also, just to point out that one benefit of using bean with Processor interface vs plain POJO is that you gain performance without have to write explicit TypeConverter!
As for the code format, I don't have control over here on Dzone. Maybe you can read the same article on my original post, since it has different format.
--
Zemian
Oct 21, 2012 · James Sugrue
Oct 21, 2012 · James Sugrue
Oct 21, 2012 · James Sugrue
Oct 21, 2012 · admin
Oct 21, 2012 · admin
Oct 21, 2012 · admin
Sep 17, 2012 · James Sugrue
Hi Andrew,
For simple case, you can handle these service dependencies by extending the ServiceContainer I provided. I stated that they will be in straight order that you add them in, but you can do whatever you want.
For anything complicated, you might want to explore the Spring container, which handles dependencies and inject and much more.
Zemian
Sep 17, 2012 · James Sugrue
Hi Andrew,
For simple case, you can handle these service dependencies by extending the ServiceContainer I provided. I stated that they will be in straight order that you add them in, but you can do whatever you want.
For anything complicated, you might want to explore the Spring container, which handles dependencies and inject and much more.
Zemian