Where does complexitycome from?
Much of the complexity comes from two issues:
• dealing with the specifics of applications and transports
• coming up with good solutions to integration problems
5.
Integrations patterns
- Visualpattern language for message-based enterprise
integration solutions
- Pattern language comprises of 65 patterns in 6 categories
What is ApacheCamel?
• Java framework for integration and mediation
• Enterprise Integration Patterns
• Domain Specific Languages:
• Fluent Java
• Spring XML
• Blueprint XML
• Scala
• Runs in any container (or stand alone)
• Over > 150 out-of-box components
• Active community
10.
Why Apache Camel?
•Why Integration Framework?
• Framework do the heavy lifting
• You can focus on business problem
• Not "reinventing the wheel"
11.
Why Apache Camel?
•Integration can be messy - variety of protocols and data
formats
• Framework hides all complexity so you can focus on your
business logic
Apache Camel Components
•Highly configurable
• Maximum interoperability
• Used to build “Adapters” to existing systems
• Don’t reinvent the wheel and end up with a box
Working with CamelMessages
Camel Processor:
• Java interface used to implement message consumers or
Message Translator EIP
• you can create a Component from a Processor
Hawt.io - ultimateadmin console
• lightweight html5 modular web-console
• open-source (JBoss Cummunity project)
• discovers what the JVM is running (JMX, other) and
exposes a web UI
• lots of plugins:
○ ActiveMQ
○ Camel
○ OSGi
○ Karaf
○ JMX
○ …..
41.
Management with Hawt.io
•View/edit Camel Routes
• ActiveMQ - browse/send
• Monitor system resources
• Inspect JMX
42.
When NOT touse Apache Camel?
• Integrating just one or two technologies (Could be simpler
to use other libraries)
• Very large integration projects (use ESB’s: Apache
ServiceMix, Mule ESB)
43.
Summary
• Apache Camel:The Swiss Army Knife of Integration
• Lightweight
• Multiple container support
• Developer friendly
• Feature (a lot of components)
• Scalability
• Easy adoption in enterprises
• Development
• Testing
• Operations friendly
• License