The Apache Camel user community is growing constantly. It is also very rewarding to see that most of the contributors who became committers continue to stay involved. Therefore, in recognition of the continued contribution, the Apache Camel PMC invited Jean-Baptiste Onofré to join the PMC, be even more involved and take a greater responsibility in shaping the future of the Camel project. I'm sure most of you already know JB. He is an Apache member and in the PMC of Apache Ace, Archiva, Aries, Falcon, Incubator, Karaf, Lens, Servicemix & Syncope. Beside this, he is also a committer in Apache ActiveMQ and JClouds.
Many thanks for your past contributions and we look forward to the same commitment in the future.
The Apache Camel PMC is pleased to introduce Sergey Beryozkin as a new committer. We are very happy with the sustained growth of the project and look forward to continued contributions from the community and adding to the ranks of Camel Riders. Sergey was involved with Camel for well over long time now, especially with Camel CXF. He contributed to the code and got involved with the community on the mailing lists.
On behalf of the Camel PMC, welcome aboard and we expect more great things coming from you!
The Camel community announces the immediate availability of the new major release Camel 2.16.0. This release contains a total of 600+ fixes applied in the past 6 months by the community on the Camel master branch.
The artifacts are published and ready for you to download either from the Apache mirrors or from the Central Maven repository. For more details please take a look at the release notes.
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Dan
+
The Apache Camel PMC is pleased to introduce Sergey Beryozkin as a new committer. We are very happy with the sustained growth of the project and look forward to continued contributions from the community and adding to the ranks of Camel Riders. Sergey was involved with Camel for well over long time now, especially with Camel CXF. He contributed to the code and got involved with the community on the mailing lists.
On behalf of the Camel PMC, welcome aboard and we expect more great things coming from you!
The Apache Camel user community is growing constantly with increased adoption. We are grateful to our users who decide to give something back in the form of reporting bugs, providing patches and contributing to the documentation. The project would not be what it is without the community contributions. We want to see more of you helping out and the most active join us as committers. It is also very rewarding to see that most of the contributors who became committers continue to stay involved. Therefore, in recognition of their continued contribution, the Apache Camel PMC invited recently Aki Yoshida and Andrea Cosentino to join the PMC, be even more involved and take a greater responsibility in shaping the future of the Camel project. We welcome both as new Apache Camel PMC members. Many thanks for your past contributions and we look forward to the same commitment in the future.
On behalf of the Camel PMC, welcome aboard and we expect more great things coming from yo
u!
Christian Müller,
VP, Apache Camel
+
The Apache Camel user community is growing constantly. It is also very rewarding to see that most of the contributors who became committers continue to stay involved. Therefore, in recognition of the continued contribution, the Apache Camel PMC invited Jean-Baptiste Onofré to join the PMC, be even more involved and take a greater responsibility in shaping the future of the Camel project. I'm sure most of you already know JB. He is an Apache member and in the PMC of Apache Ace, Archiva, Aries, Falcon, Incubator, Karaf, Lens, Servicemix & Syncope. Beside this, he is also a committer in Apache ActiveMQ and JClouds.
Many thanks for your past contributions and we look forward to the same commitment in the future.
Christian Müller,
VP, Apache Camel
@@ -143,13 +143,13 @@ There's a great discussion about Camel a
- Apache Camel 2.15.3
-
The Camel community announces the immediate availability of the new patch release Camel 2.15.3. This release contains over 100 fixes applied in the past few weeks by the community on the Camel 2.15.x maintenance branch.
The artifacts are published and ready for you to download either from the Apache mirrors or from the Central Maven repository. For more details please take a look at the release notes.
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Dan
+
The Camel community announces the immediate availability of the new major release Camel 2.16.0. This release contains a total of 600+ fixes applied in the past 6 months by the community on the Camel master branch.
The artifacts are published and ready for you to download either from the Apache mirrors or from the Central Maven repository. For more details please take a look at the release notes.
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Dan
@@ -159,17 +159,17 @@ There's a great discussion about Camel a
The Camel community announces the immediate availability of the new patch release Camel 2.14.3. This release contains a total of 80 fixes applied in the past few weeks by the community on the Camel 2.14.x maintenance branch.
The artifacts are published and ready for you to download either from the Apache mirrors or from the Central Maven repository. For more details please take a look at the release notes.
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem Jia
ng
+
The Apache Camel user community is growing constantly with increased adoption. We are grateful to our users who decide to give something back in the form of reporting bugs, providing patches and contributing to the documentation. The project would not be what it is without the community contributions. We want to see more of you helping out and the most active join us as committers. It is also very rewarding to see that most of the contributors who became committers continue to stay involved. Therefore, in recognition of their continued contribution, the Apache Camel PMC invited recently Aki Yoshida and Andrea Cosentino to join the PMC, be even more involved and take a greater responsibility in shaping the future of the Camel project. We welcome both as new Apache Camel PMC members. Many thanks for your past contributions and we look forward to the same commitment in the future.
On behalf of the Camel PMC, welcome aboard and we expect more great things coming from yo
u!
Christian Müller,
VP, Apache Camel
@@ -179,17 +179,17 @@ There's a great discussion about Camel a
The Camel community announces the immediate availability of the new patch release Camel 2.15.2. This release contains a total of 71 fixes applied in the past few weeks by the community on the Camel 2.15.x maintenance branch.
The artifacts are published and ready for you to download either from the Apache mirrors or from the Central Maven repository. For more details please take a look at the release notes.
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Willem
+
The Camel community announces the immediate availability of the new patch release Camel 2.15.3. This release contains over 100 fixes applied in the past few weeks by the community on the Camel 2.15.x maintenance branch.
The artifacts are published and ready for you to download either from the Apache mirrors or from the Central Maven repository. For more details please take a look at the release notes.
Many thanks to all who made this release possible.
On behalf of the Camel PMC,
Dan
@@ -199,17 +199,17 @@ There's a great discussion about Camel a
Yesterday, the Camel PMC voted another one of the very active and talented contributors to become a committer.
Andrea Cosentino is actively involved with Apache Camel since months contributing code and helping other users. Andrea contributed many patches / pull requests for helping to maintain the Camel components and ensure they are using newer releases of the dependency JARs. He is also taking on OSGi and help upgrade and maintain the karaf features as well. He is also working on a cassandra Camel component at GitHub, porting this good stuff back.
On behalf of the Camel PMC, welcome aboard Andrea and keep up the great work!
Christian
+
The Camel community announces the immediate availability of the new patch release Camel 2.14.3. This release contains a total of 80 fixes applied in the past few weeks by the community on the Camel 2.14.x maintenance branch.
The artifacts are published and ready for you to download either from the Apache mirrors or from the Central Maven repository. For more details please take a look at the release notes.
Many thanks to all who made this release possible.
MongoDB endpoints support the following options, depending on whether they are acting like a Producer or as a Consumer (options vary based on the consumer type too).
Name
Default Value
Description
Producer
Tailable Cursor Consumer
database
none
Required. The name of the database to which this endpoint
will be bound. All operations will be executed against this database unless dynamicity is enabled and the CamelMongoDbDatabase header is set.
collection
none
Required (Except for getDbStats and command operations). The name of the collection (within the specified database) to which this endpoint will be bound. All operations will be executed against this database unless dynamicity is enabled and the CamelMongoDbDatabase header is set.
Other operations: getDbStats, getColStats, aggregate,command
createCollection
true
Determines whether the collection will be automatically created in the MongoDB database during endpoint initialisation if it doesn't exist already. If this option is false and the collection doesn't exist, an initialisation exception will be thrown.
invokeGetLastError
false (behaviour may be inherited from connections WriteConcern)
Remove in camel 2.16
Instructs the MongoDB Java driver to invok
e getLastError() after every call. Default behaviour in version 2.7.2 of the MongoDB Java driver is that only network errors will cause the operation to fail, because the actual operation is executed asynchronously in the MongoDB server without holding up the client - to increase performance. The client can obtain the real result of the operation by explicitly invoking getLastError() on the WriteResult object returned or by setting the appropriate WriteConcern. If the backend operation has not finished yet, the client will block until the result is available. Setting this option to true will make the endpoint behave synchronously and return an Exception if the underlying operation failed.
WriteConcern should be preferred to detect if write occurs without errors. MongoDB strongly discourage to use this method as it is not reliable.
Sets a custom WriteConcern that exists in the Registry. Specify the bean name.
readPreference
none
Availab
le as of Camel 2.12.4, 2.13.1 and 2.14.0: Sets a ReadPreference on the connection. Accepted values are those supported by the ReadPreference#valueOf() public API. Currently as of MongoDB-Java-Driver version 2.12.0 the supported values are: primary, primaryPreferred, secondary, secondaryPreferred and nearest. See also the documentation for more details about this option.
dynamicity
false
If set to true, the endpoint will inspect the CamelMongoDbDatabase and CamelMongoDbCollection headers of the incoming message, and if any of them exists, the target collection and/or database will be overridden for that particular operation. Set to false by default to avoid triggering the lookup on every Exchange if the feature is not desired.
writeResultAsHeader
false
Available as of Camel 2.10.3 and 2.11: In write operations (save, update, insert, etc.), instead of replacing the body with the WriteResult object returned by MongoDB, keep the input body untouched and place the WriteResult in the CamelMongoWriteResult header (constant MongoDbConstants.WRITERESULT).
outputType
DBObjectList for findAll
DBObject for all other operations
Available as of Camel 2.16 : Convert the output of the producer to the selected type : "DBObjectList", "DBObject" or "DBCursor" :
DBObjectList or DBCursor (may be useful to stream the output) applies to findAll.
DBObjectapplies to all other operations.
persistentTailTracking
false
Enables or disables persistent tail tracking for Tailable Cursor consumers. See below for more information.
persistentId
none
Required if persistent tail tracking is enabled. The id of this persistent tail tracker, to separate its records from the rest on the tail-tracking collection.
tailTrackingIncreasingField
none
Required if persistent tail tracking is enabled. Corre
lation field in the incoming record which is of increasing nature and will be used to position the tailing cursor every time it is generated. The cursor will be (re)created with a query of type: tailTrackIncreasingField > lastValue (where lastValue is possibly recovered from persistent tail tracking). Can be of type Integer, Date, String, etc. NOTE: No support for dot notation at the current time, so the field should be at the top level of the document.
cursorRegenerationDelay
1000ms
Establishes how long the endpoint will wait to regenerate the cursor after it has been killed by the MongoDB server (normal behaviour).
tailTrackDb
same as endpoint's
Database on which the persistent tail tracker will store its runtime information.
tailTrackCollection
camelTailTracking
Collection on which the persistent tail tracker will store its runtime information.
tailTrackField
lastTrackingValue
Field in which the persistent tail tracker will store the last tracked value.
Configuration of database in Spring XML
The following Spring XML creates a bean defining the connection to a MongoDB instance.
+
Endpoint options
MongoDB endpoints support the following options, depending on whether they are acting like a Producer or as a Consumer (options vary based on the consumer type too).
Name
Default Value
Description
Producer
Tailable Cursor Consumer
database
none
Required. The name of the database to which this endpoint
will be bound. All operations will be executed against this database unless dynamicity is enabled and the CamelMongoDbDatabase header is set.
collection
none
Required (Except for getDbStats and command operations). The name of the collection (within the specified database) to which this endpoint will be bound. All operations will be executed against this database unless dynamicity is enabled and the CamelMongoDbDatabase header is set.
Other operations: getDbStats, getColStats, aggregate,command
createCollection
true
Determines whether the collection will be automatically created in the MongoDB database during endpoint initialisation if it doesn't exist already. If this option is false and the collection doesn't exist, an initialisation exception will be thrown.
invokeGetLastError
false (behaviour may be inherited from connections WriteConcern)
Remove in camel 2.16
Instructs the MongoDB Java driver to invok
e getLastError() after every call. Default behaviour in version 2.7.2 of the MongoDB Java driver is that only network errors will cause the operation to fail, because the actual operation is executed asynchronously in the MongoDB server without holding up the client - to increase performance. The client can obtain the real result of the operation by explicitly invoking getLastError() on the WriteResult object returned or by setting the appropriate WriteConcern. If the backend operation has not finished yet, the client will block until the result is available. Setting this option to true will make the endpoint behave synchronously and return an Exception if the underlying operation failed.
WriteConcern should be preferred to detect if write occurs without errors. MongoDB strongly discourage to use this method as it is not reliable.
Sets a custom WriteConcern that exists in the Registry. Specify the bean name.
readPreference
none
Availab
le as of Camel 2.12.4, 2.13.1 and 2.14.0: Sets a ReadPreference on the connection. Accepted values are those supported by the ReadPreference#valueOf() public API. Currently as of MongoDB-Java-Driver version 2.12.0 the supported values are: primary, primaryPreferred, secondary, secondaryPreferred and nearest. See also the documentation for more details about this option.
dynamicity
false
If set to true, the endpoint will inspect the CamelMongoDbDatabase and CamelMongoDbCollection headers of the incoming message, and if any of them exists, the target collection and/or database will be overridden for that particular operation. Set to false by default to avoid triggering the lookup on every Exchange if the feature is not desired.
writeResultAsHeader
false
Available as of Camel 2.10.3 and 2.11: In write operations (save, update, insert, etc.), instead of replacing the body with the WriteResult object returned by MongoDB, keep the input body untouched and place the WriteResult in the CamelMongoWriteResult header (constant MongoDbConstants.WRITERESULT).
outputType
DBObjectList for findAll DBObject for all other operations
Available as of Camel 2.16 : Convert the output of the producer to the selected type : "DBObjectList", "DBObject" or "DBCursor" : DBObjectList or DBCursor (may be useful to stream the output) applies to findAll. DBObject applies to all other operations.
persistentTailTracking
false
Enables or disables persistent tail tracking for Tailable Cursor consumers. See below for more information.
persistentId
none
Required if persistent tail tracking is enabled. The id of this persistent tail tracker, to separate its records from the rest on the tail-tr
acking collection.
tailTrackingIncreasingField
none
Required if persistent tail tracking is enabled. Correlation field in the incoming record which is of increasing nature and will be used to position the tailing cursor every time it is generated. The cursor will be (re)created with a query of type: tailTrackIncreasingField > lastValue (where lastValue is possibly recovered from persistent tail tracking). Can be of type Integer, Date,
String, etc. NOTE: No support for dot notation at the current time, so the field should be at the top level of the document.
cursorRegenerationDelay
1000ms
Establishes how long the endpoint will wait to regenerate the cursor after it has been killed by the MongoDB server (normal behaviour).
tailTrackDb
same as endpoint's
Database on which the persistent tail tracker will store its runtime information.
tailTrackCollection
camelTailTracki
ng
Collection on which the persistent tail tracker will store its runtime information.
tailTrackField
lastTrackingValue
Field in which the persistent tail tracker will store the last tracked value.
Configuration of database in Spring XML
The following Spring XML creates a bean defining the connection to a MongoDB instance.