Camel 2.2.0 ReleasePage edited by Claus IbsenCamel 2.2.0 release (currently in progress)New and NoteworthyWelcome to the 2.2.0 release which approx XXX issues resolved (new features, improvements and bug fixes such as...)
New Enterprise Integration PatternsNew Components
New DSL
New AnnotationsNew Data FormatsNew LanguagesNew ExamplesAPI breakingDefaultComponentThe methods DefaultComponent.resolveAndRemoveReferenceParameter and DefaultComponent.resolveAndRemoveReferenceParameterList have been changed to make the leading # sign for bean references optional and to throw an IllegalArgumentException if a referenced bean is not in the registry. For details see CAMEL-2248. ExchangeThe property Exchange.FILTETED have been removed as part of CAMEL-2288. Added two new methods for getProperty to accept a defaultValue as parameter to be used when the property does not exists. MessageAdded two new methods for getHeader to accept a defaultValue as parameter to be used when the header does not exists. ExceptionHandlerThe class org.apache.camel.spi.ExceptionHandler now have two additional methods which accepts more details when an Exception occurred such as a message and the current Exchange. @EndpointInjectThe name attribute in @EndpointInject has been renamed to ref to be consistent with the other annotations. Its a reference for an Endpoint to be looked up in the Registry. BatchConsumerThe BatchConsumer have a new method isBatchAllowed which should be used during processing the batch, to break out the batch loop in case its not allowed anymore. Also BatchConsumer should consider implement ShutdownAware to support fine grained control during shutdown. See for example the GenericFileConsumer for details. GenericFileProcessStrategyThe GenericFileProcessStrategy has a new method prepareOnStartup which is used to prepare the File component on startup, such as deleting orphaned lock files. The same applies for the GenericFileExclusiveReadLockStrategy interface in case you have developed a custom lock strategy. ManagementStrategyThe ManagementStrategy now supports multiple EventNotifier and thus have its setter/getter methods adjusted to a List<EventNotifier> and there is a addEventNotifier method as well to add a single EventNotifier. EventNotifierThe EventNotifier has new methods for filtering events based on categories. The DefaultEventNotifier class has been renamed to LoggingEventNotifier and a new EventNotifierSupport class is added which is meant for custom implementations to extend. UnitOfWorkThe UnitOfWork have adjusted its methods for setting RouteContext from a setter to a push and pop style. Known IssuesSee known issues from previous releases. Important changes to consider when upgradingSpring jar dependencies have been cut down in camel-core.The pom.xml file for camel-core have cut down number of spring jar dependencies to allow Camel to easily run without any Spring .jars at all. However this affects you if you use maven and use camel-core without camel-spring or spring at all. If you want to use JMX with Camel then you need to add the following 4 spring jars required: spring-core.jar, spring-beans.jar, spring-context.jar, spring-aop.jar. With maven you only need to depend on spring-context and spring-aop as they will bring in the other two jars. See also Camel jar dependencies and Camel JMX. Using filter in SplitterThe filter no long influence the split and its AggregationStrategy as it was just too confusing why it did that. See CAMEL-2288 for details. camel-http and proxyThe HTTP component used to read Proxy settings directly from system properties. You should instead configure proxy wide information as properties to the CamelContext instead. See HTTP for details. camel-jmsHow correlationId is determined has been changed slightly. Now JMS will always use messageId if configured to do so using useMessageIDAsCorrelationID==true. Otherwise JMSCorrelationID is used but if that has not been set then Camel will fallback to use messageId instead. See the method determineCorrelationId in the class org.apache.camel.component.jms.EndpointMessageListener for actual implementation. This change will most likely not affect most users. Getting the DistributionsBinary Distributions
Source Distributions
Getting the Binaries using Maven 2To use this release in your maven project, the proper dependency configuration that you should use in your Maven POM is: <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> <version>2.2.0</version> </dependency>
Change Notification Preferences
View Online
|
View Change
|
Add Comment
|
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence
- [CONF] Apache Camel > Camel 2.2.0 Release confluence