...
|
h2. New and Noteworthy
|
Welcome to the 2.10.0 release which approx XXX issues resolved (new features, improvements and bug fixes such as...)
|
Welcome to the 2.10.0 release with approximately XXX issues resolved - including new features, improvements, and bug fixes, such as:
|
* Internal code cleanup to reduce warnings reported by Eclipse * Moved [Spring Testing] from {{camel-test}} to {{camel-test-spring}} component.
|
* Camel [Property Placeholders|Using PropertyPlaceholder] is are now supported in embedded [_expression_]s in the within Camel routes.
|
* Added missing options in the XML DSL for the [XPath] language to control and set which XPath Engine to use, etc.
|
* Added option {{logNamespaces}} to [XPath] language to have {{INFO}} logging of detected namespaces from message. Can be used to aid during issues with having [XPath] _expression_ works as expected (as it's often a namespace conflict).
|
* Added option {{logNamespaces}} to the [XPath] language to have {{INFO}} logging of detected namespaces from message. This can be used to troubleshoot issues where an [XPath] _expression_ doesn't work as expected (as it's often a namespace conflict).
|
* Added {{replyToCacheLevelName}} option to the [JMS] component, to allow to configure allowing configuration of cache levels for persistent reply consumer,s when doing request/reply over JMS. Some message brokers do not work well with caching, so users may need to configure set this option to {{CACHE_NONE}}.
|
* Added {{antInclude}} and {{antExclude}} options to [File|File2] and [FTP|FTP2] components, to make it easier to specify include/exclude filters using ANT style. syntax.
|
* The [Camel archetypes|Camel Maven Archetypes] for Java and Scala no longer generate projects with Spring dependency. dependencies.
|
* Improved {{JdbcMessageIdRepository}} in the [SQL|SQL Component] to use custom SQL statements/queries.
|
* Added option to [Properties] to allow silently ignoring property locations not found, such as a .properties file.
|
* Added {{managementNamePattern}} attribute to {{<camelContext>}} to make it very easy to customize and control the JMX naming of the Camel application. See details at [Camel JMX|Camel JMX#CamelJMX-ManagementNamingStrategy]. For example, in OSGi environments you can explicitly configure a {{managementNamePattern}} in case you do not want the bundleId as part of the MBean names.
|
* Added streaming update support to [Solr] as well as support for SolrInputDocuments * Added SolrJ DirectXMLRequest support to [Solr] to support XML based index updates * Improved Camel [Mail] to support the {{replyTo}} option * Added {{traceEnabled}} option to [Jetty] component so you have control over whether to allow HTTP TRACE calls against your Jetty endpoints.
|
* Polished the [Camel Maven Archetypes] to let the projects be prepared for [Testing], and fixed any WARNs from Maven.
|
* Added {{dumpRouteStatsAsXml}} methods to [JMX|Camel JMX] to make it easier to get the total performance stats as XML, and in one JMX call.
|
* [Graceful Shutdown] is now more aggressive if timeout occurred during shutdown, now rejecting continued processing of messages or redeliveries.
|
* Add {{ShutdownPrepared}} SPI to allow custom Services (also EIPs) in routes to do custom code preparing in preparation for shutdown.
|
* The {{camel-archetype-java}} [Camel Maven Archetypes] is now a pure Java DSL based project (no longer Spring)
|
* [JMS] consumer is less verbose when logging uncaught exceptions occurred during process thrown while processing a message. Added {{errorHandlerLoggingLevel}}, and {{errorHandlerLogStackTrace}} options to tweak the logging verbosity.
|
* Added {{messageId}} as an [MDC logging] key.
|
* Improved Camel's Transaction [Error Handler] logging to better pinpoint and correlate redelivered messages (from, e.g., a JMS broker), making the logs much easier to read.
|
* Added the a timeout option to [Spring Web Services] for specifying the read timeout while invoking a webservice.
|
* Optimized [Type Converter] registry for possible concurrency contention when looking up a type converter. * Improved [Simple] language to work better with floating point numbers in [Predicate]s
|
* Camel is now less verbose when starting and stopping, whats with less being logged at {{INFO}} level.
|
* Add support for keyed data queues to [jt400] component.
|
* [Idempotent Consumer] gets now enlisted into the JMX which allows to both detect the duplicate message count as well as the operation to reset them. * Thread pools are now unregistered from [JMX|Camel JMX] (if the thread pool was registered in JMX) when the thread pool is being shutdown by Camel. Notice that all MBeans will be unregistered from JMX when Camel shuts itself down. This improvement is to unregister thread pools more eagerly, such as when routes are removed at runtime.
|
* [Idempotent Consumer] is now enlisted in JMX, which allows monitoring the duplicate message count as well as the operation to reset it. * Thread pools registered in [JMX|Camel JMX] are now unregistered when Camel shuts them down. Note that all MBeans will be unregistered from JMX when Camel shuts itself down. This improvement is to unregister thread pools more eagerly, such as when routes are removed at runtime.
|
* Camel will now also copy the message headers for a {{JmsMessage}} if you use leverage {{useOriginalMessage}} in a an {{onException}} definition.
|
* Added {{mockEndpointsAndSkip}} to [AdviceWith] and the [Test Kit|Testing]
|
* The filter on [File|File2] and [FTP|FTP2] components now supports filtering directories. There is an {{isDirectory}} method on the {{GenericFile}} class. This can be used to skip unwanted directories, and thus speedup consuming files.
|
* The [File|File2] and [FTP|FTP2] components now support filtering directories. The {{isDirectory}} method on the {{GenericFile}} class can be used to skip unwanted directories, accelerating file consumption.
|
* [SMPP] connections can now be tunneled through an HTTP proxy by configuring HTTP proxy settings.
|
* Camel now also checks, when starting a route dynamically, whether there would be any violations on multiple consumers from the same [Endpoint]. Previously this check only occurred during Camel startup - now it always happens.
|
* Stopping {{ConsumerTemplate}}, and {{ProducerTemplate}} will now stop and shutdown its cache to cleanup any resources which otherwise many only cleanup when shutting down.
|
* Stopping a {{ConsumerTemplate}} or a {{ProducerTemplate}} will now stop and shutdown its cache to cleanup any resources which otherwise may not have been reclaimed until shutdown.
|
* [ScheduledPollConsumer|http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/impl/ScheduledPollConsumer.html] will now shutdown thread pools more eagerly, such as being stopped from when stopping a {{ConsumerTemplate}} etc.
|
* Added option {{asyncStartListener}} to [JMS] to allow starting JMS consumers (e.g. routes) asynchronously. This can be used to avoid blocking in case the JMS consumer takes long time to establish a connection to the JMS broker.
|
h3. Fixed issues
|
* Fixed memory leak issue when dynamic adding and removing a lot of routes at runtime.
|
* Fixed memory leak when dynamically adding and removing many routes at runtime. See this [FAQ|Memory leak when adding and removing routes at runtime] for more information.
|
* Fixed potential NPE in [FTP|FTP2] consumer when using double slashes as starting directory.
|
* Fixed [InterceptSendToEndpoint|Intercept#InterceptSendToEndpoint] when using {{skipSendToEndpoint=true}} with a [when|predicate] and {{skipSendToEndpoint=true}} should predicate to only skip sending if the predicate was true.
|
* Fixed an issue with [Bean Binding] directly in a method name not working properly with method call expressions.
|
* Fixed issue with using custom namespaces in [XPath] expressions when using [OSGi Blueprint|Using OSGi blueprint with Camel] * Fixed [Validation] to support {{xs:import}} in the schema files.
|
* Fixed [Poll Enrich|Content Enricher] where timeout was not explicit configured to use the blocking mode. Was wrongly using the non blocking mode. * Fixed [Threads EIP|Async] to handle rejected policies to ensure the [Exchange] will done the {{UnitOfWork}}, to ensure the [Exchange] will get de-registered from the inflight registry.
|
* Fixed [Poll Enrich|Content Enricher] where the timeout was not explicitly configured to use blocking mode (was wrongly using non-blocking mode). * Fixed [Threads EIP|Async] to handle rejected policies, ensuring the [Exchange] will finish the {{UnitOfWork}} and will be de-registered from the inflight registry.
|
* Fixed [Delayer] not working with a [Bean] _expression_ to define the delay when using XML DSL
|
* Fixed [JMS] consumer will no longer complain by default about no errorHandler configured, if uncaught exception was thrown during processing a message. * Fixed the String trim issue of the [Simple] _expression_.
|
* Fixed [JMS] consumer to no longer complain by default if no errorHandler is configured when an uncaught exception was thrown while processing a message. * Fixed the String trim issue in [Simple] expressions.
|
* Fixed the issue with [Recipient List] not triggering [Error Handler] for endpoints with non existing [Component]s.
|
* Fixed [Load Balancer] now updating to update statistics in [JMX|Camel JMX]
|
* Fixed [SEDA] producer configured with {{waitForTaskToComplete=Always}} to not hand over on-completion tasks, which otherwise could be processed too early. prematurely.
|
* Fixed a potential issue with configuring custom start and end tokens for the [Simple] language when using Spring XML.
|
* Fixed issue with [Type Converter] with NaN numbers being converter to integers.
|
* Fixed an issue with [Type Converter] where NaN values were converted to integers.
|
* Fixed [HTTP], [HTTP4], and [Jetty] producers to send empty HTTP headers, if a header has headers for [Exchange] headers with an empty value.
|
* Fixed memory leaks when adding and removing a lot of routes at runtime. See this [FAQ|Memory leak when adding and removing routes at runtime] as well.
|
* Fixed an issue with configuring a custom thread pool profile on some [EIP]s.
|
* Fixed an issue with [Intercept] causing processors to not update their performance statistics in [JMX|Camel JMX]
|
h3. New [Enterprise Integration Patterns]
|
...
|
* {{camel-beanio}} * {{camel-cdi}}
|
* {{camel-gson}} - For [JSON] data format using the Google GSon project
|
* {{camel-mina2}} * {{camel-mongodb}} - for [MongoDB] integration
|
...
|
* {{camel-avro}} * {{camel-beanio}}
|
* {{camel-gson}} - For [JSON] data format using the Google GSon project
|
h3. New [Languages]
|
...
|
h3. New [Examples]
|
* There is a {{camel-example-ssh}}
|
* {{camel-example-ssh}}
|
h3. New [Tutorials]
|
...
|
h2. API changes/breaking
|
* Added {{shutdownForced}}, and {{forceShutdown}} methods to {{org.apache.camel.spi.ShutdownStrategy}}
|
* Add boolean parameter to {{prepareShutdown}} on {{ShutdownAware}}
|
* The {{errorHandler}} method in {{RouteBuilder}} now returns {{void}}, as its used for only configuring context scoped error handlers.
|
* The {{errorHandler}} method in {{RouteBuilder}} now returns {{void}}, as it's only used for configuring context-scoped error handlers.
|
* Removed the {{SimpleLanguage}} constructor which that takes custom start and end tokens from {{SimpleLanguage}}. Instead use the change methods to set custom tokens.
|
* Added {{onThreadPoolRemove}}, and {{onErrorHandlerRemove}} methods to {{LifecycleStrategy}}
|
h2. Internal/Non API refactorings that may affect users * Removed method {{setManagementName}} from {{CamelContext}} as it should not be used by Camel end users
|
* Added {{isTransactedRedelivered}} method {{isTransactedRedelivered}} to [Exchange]
|
* Added {{isDirectory}} method {{isDirectory}} to {{GenericFile}}
|
h2. Known Issues
|
* The [Tracer] may not output all details for some situations, such as when using {{onCompletion}} or {{intercept}}, etc.
|
* The project cannot fully build the site using Maven (eg running {{"mvn site"}}. There is no plan to make this work as the project do not use the maven site.
|
* The project cannot fully build the site using Maven (e.g. running {{"mvn site"}}). There is no plan to fix this, as the project does not use maven site.
|
* The source code cannot fully build with JDK 7
|
* JBoss 7 may report log a WARN logging when running Camel as a WAR file.
|
h2. Dependency Upgrades
|
...
|
* Moved [Spring Testing] from {{camel-test}} to {{camel-test-spring}} component.
|
* Combination of {{skipSendToEndpoint=true}} and {{when}} predicate now triggers conditional skipping (you may have been relying on unconditional skipping up until now)
|
* The thread name pattern has changed tokens to avoid clashing with [Using PropertyPlaceholder], (see [Threading Model] for more details).
|
* The [Poll Enrich|Content Enricher] will now block if no messages is available, if no explicit timeout value has been configured. * Setting the option {{lazyLoadTypeConverter=true}} has been deprecated, and will be removed in a future release. Best practice is type converters is loaded as part of bootstrapping Camel. * The [Camel Test kit|Testing] do no longer load type converters lazy.
|
* [Poll Enrich|Content Enricher] will now block if no messages are available and no explicit timeout has been configured. * The option {{lazyLoadTypeConverter=true}} has been deprecated, and will be removed in a future release. The best practice is to load type converters while bootstrapping Camel. * The [Camel Test kit|Testing] no longer lazily loads type converters.
|
* Keys for [MDC logging] has have been prefixed with {{"camel."}}.
|
h2. Notice
|
...
|
| Unix/Linux/Cygwin Distribution | [apache-camel-2.10.0.tar.gz|http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.10.0/apache-camel-2.10.0.tar.gz] | [apache-camel-2.10.0.tar.gz.asc|http://www.apache.org/dist/camel/apache-camel/2.10.0/apache-camel-2.10.0.tar.gz.asc] | {info:title=The above URLs use redirection}
|
The above URLs use the Apache Mirror system to redirect you to a suitable mirror for your download. Some users have experienced issues with some versions of browsers (e.g. some Safari browsers). If the download doesn't seem to work for you from the above URL then try using [FireFfox|http://www.mozilla.com/en-US/firefox/]
|
{info}
|
...
|
|| Description || Download Link || PGP Signature file of download || | Source Distribution | [apache-camel-2.10.0-src.zip|http://www.apache.org/dyn/closer.cgi/camel/apache-camel/2.10.0/apache-camel-2.10.0-src.zip] | [apache-camel-2.10.0-src.zip.asc|http://www.apache.org/dist/camel/apache-camel/2.10.0/apache-camel-2.10.0-src.zip.asc] |
|
h3. Getting the
|