You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Camel 2.0 Design

This wiki page lists the overall goals of the 2.0 release of Camel. For a detailed view see the Camel 2.0 JIRA roadmap

Main features

  • default to using transacted mode along with transacted error handlers CAMEL-866
  • improve smart completion of Java & XML DSLs
  • make more endpoints easily configurable as beans in Spring XML CAMEL-506
  • improve the DSL
    • to better support polling and explicit MEPs CAMEL-402 CAMEL-486
    • a new schedule DSL for advanced scheduling of polling that can have builder methods (kinda like BAM) so you can:
      schedule().every(5).minute().from("ftp://xxxx).to("bean:processFtpFile")...
    • get rid of consumer. options in favor of the new scheduler
  • solving MEP issues
  • using Camel${component}${name} pattern as header keys instead of using package names with dots that isn't likely to be transported by JMS or other transport types
  • OSGi sample and wiki documentation
  • ServiceMix and Camel sample and wiki documentation

Refactoring of code and internal API changes

  • remove the use of generics on Component, Exchange, Producer, Consumer to reduce the need to copy exchanges CAMEL-872 CAMEL-507
  • enhance the Expression/Predicate APIs to allow the required type to be passed in
  • remove @deprecated code
  • improvement of discovery of class resources in OSGi bundles CAMEL-775
  • cleanup Pipeline, BeanInfo (the algorithm to select right method to invoke by bean component)
  • UUID generator to be file friendly (eg zapping / and : chars)

Nice to haves

  • self document the custom headers used in the endpoints/components CAMEL-228
  • self document of type converters available

Camel 2.x Design

Main features

  • have nice Spring 2 namespace schemas for different endpoints for nicer IDE completion
  • Improved JMX
    • Dynamic routing using JMX
    • Pausing consumers using JMX
    • Customization of endpoint options using JMX
    • and a lot more
  • pluggable DSL (Hadrian)
  • No labels