This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 954d7f9 Rename mongodb3 to mongodb 954d7f9 is described below commit 954d7f96e7adb56ea8bebfb2f9b837c735a1fc74 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Aug 15 07:33:08 2019 +0200 Rename mongodb3 to mongodb --- .../component/mongodb/CamelMongoDbException.java | 2 +- .../mongodb/MongoAbstractConsumerThread.java | 2 +- .../mongodb/MongoDbChangeStreamsConsumer.java | 2 +- .../mongodb/MongoDbChangeStreamsThread.java | 4 +-- .../camel/component/mongodb/MongoDbComponent.java | 2 +- .../camel/component/mongodb/MongoDbConstants.java | 2 +- .../component/mongodb/MongoDbConsumerType.java | 2 +- .../camel/component/mongodb/MongoDbEndpoint.java | 16 ++++----- .../camel/component/mongodb/MongoDbOperation.java | 2 +- .../camel/component/mongodb/MongoDbOutputType.java | 2 +- .../camel/component/mongodb/MongoDbProducer.java | 40 +++++++++++----------- .../mongodb/MongoDbTailTrackingConfig.java | 2 +- .../mongodb/MongoDbTailTrackingManager.java | 4 +-- .../mongodb/MongoDbTailableCursorConsumer.java | 2 +- .../component/mongodb/MongoDbTailingThread.java | 4 +-- .../mongodb/converters/MongoDbBasicConverters.java | 2 +- .../converters/MongoDbFallbackConverter.java | 2 +- .../idempotent/MongoDbIdempotentRepository.java | 4 +-- .../component/mongodb/AbstractMongoDbTest.java | 2 +- .../component/mongodb/EmbedMongoConfiguration.java | 2 +- .../mongodb/MongoBasicOperationsConfiguration.java | 4 +-- .../mongodb/MongoDbAggregateOperationTest.java | 2 +- .../mongodb/MongoDbBigDecimalConverterTest.java | 2 +- .../mongodb/MongoDbBulkWriteOperationTest.java | 2 +- .../mongodb/MongoDbChangeStreamsConsumerTest.java | 2 +- .../mongodb/MongoDbConnectionBeansTest.java | 2 +- .../component/mongodb/MongoDbConversionsTest.java | 4 +-- .../component/mongodb/MongoDbDynamicityTest.java | 4 +-- .../mongodb/MongoDbExceptionHandlingTest.java | 2 +- .../mongodb/MongoDbFindOperationTest.java | 4 +-- .../mongodb/MongoDbHeaderHandlingTest.java | 4 +-- .../camel/component/mongodb/MongoDbIndexTest.java | 4 +-- .../component/mongodb/MongoDbOperationsTest.java | 4 +-- .../component/mongodb/MongoDbOutputTypeTest.java | 4 +-- .../mongodb/MongoDbReadPreferenceOptionTest.java | 2 +- .../mongodb/MongoDbSpringDslOperationsTest.java | 2 +- .../component/mongodb/MongoDbStopEndpointTest.java | 4 +-- .../mongodb/MongoDbTailableCursorConsumerTest.java | 2 +- .../MongoDbIdempotentRepositoryTest.java | 4 +-- .../dsl/MongoDbEndpointBuilderFactory.java | 28 +++++++-------- 40 files changed, 93 insertions(+), 93 deletions(-) diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/CamelMongoDbException.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/CamelMongoDbException.java index ab69149..2878813 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/CamelMongoDbException.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/CamelMongoDbException.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; public class CamelMongoDbException extends RuntimeException { diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoAbstractConsumerThread.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoAbstractConsumerThread.java index 5c27c94..8ea9a54 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoAbstractConsumerThread.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoAbstractConsumerThread.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.concurrent.CountDownLatch; diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsConsumer.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsConsumer.java index 7edaada..4cbaaab 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsConsumer.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsConsumer.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.List; import java.util.concurrent.ExecutorService; diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsThread.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsThread.java index 15e7612..41fb9de 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsThread.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsThread.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.List; @@ -26,7 +26,7 @@ import org.apache.camel.Exchange; import org.bson.BsonDocument; import org.bson.Document; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; class MongoDbChangeStreamsThread extends MongoAbstractConsumerThread { private List<BsonDocument> bsonFilter; diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbComponent.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbComponent.java index 0f41b70..032620c 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbComponent.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbComponent.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.Arrays; import java.util.HashSet; diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbConstants.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbConstants.java index 6f4fecb..d34eb66 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbConstants.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbConstants.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; public final class MongoDbConstants { diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbConsumerType.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbConsumerType.java index aee6ac7..b8038b8 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbConsumerType.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbConsumerType.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; public enum MongoDbConsumerType { diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java index 7c99d6e..ffa674b 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.io.IOException; import java.util.ArrayList; @@ -46,13 +46,13 @@ import org.apache.camel.util.StringHelper; import org.bson.Document; import org.bson.conversions.Bson; -import static org.apache.camel.component.mongodb3.MongoDbOperation.command; -import static org.apache.camel.component.mongodb3.MongoDbOperation.findAll; -import static org.apache.camel.component.mongodb3.MongoDbOperation.getDbStats; -import static org.apache.camel.component.mongodb3.MongoDbOperation.valueOf; -import static org.apache.camel.component.mongodb3.MongoDbOutputType.Document; -import static org.apache.camel.component.mongodb3.MongoDbOutputType.DocumentList; -import static org.apache.camel.component.mongodb3.MongoDbOutputType.MongoIterable; +import static org.apache.camel.component.mongodb.MongoDbOperation.command; +import static org.apache.camel.component.mongodb.MongoDbOperation.findAll; +import static org.apache.camel.component.mongodb.MongoDbOperation.getDbStats; +import static org.apache.camel.component.mongodb.MongoDbOperation.valueOf; +import static org.apache.camel.component.mongodb.MongoDbOutputType.Document; +import static org.apache.camel.component.mongodb.MongoDbOutputType.DocumentList; +import static org.apache.camel.component.mongodb.MongoDbOutputType.MongoIterable; /** * Component for working with documents stored in MongoDB database. diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbOperation.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbOperation.java index 32688d3..8968e7a 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbOperation.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbOperation.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; public enum MongoDbOperation { diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbOutputType.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbOutputType.java index 3ffc8e2..0bcf10a 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbOutputType.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbOutputType.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; public enum MongoDbOutputType { DocumentList, // List<Document> diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbProducer.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbProducer.java index a510120..3e1f069 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbProducer.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbProducer.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.ArrayList; import java.util.Arrays; @@ -47,25 +47,25 @@ import org.bson.Document; import org.bson.conversions.Bson; import static com.mongodb.client.model.Filters.eq; -import static org.apache.camel.component.mongodb3.MongoDbConstants.BATCH_SIZE; -import static org.apache.camel.component.mongodb3.MongoDbConstants.COLLECTION; -import static org.apache.camel.component.mongodb3.MongoDbConstants.COLLECTION_INDEX; -import static org.apache.camel.component.mongodb3.MongoDbConstants.CRITERIA; -import static org.apache.camel.component.mongodb3.MongoDbConstants.DATABASE; -import static org.apache.camel.component.mongodb3.MongoDbConstants.FIELDS_PROJECTION; -import static org.apache.camel.component.mongodb3.MongoDbConstants.LIMIT; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MULTIUPDATE; -import static org.apache.camel.component.mongodb3.MongoDbConstants.NUM_TO_SKIP; -import static org.apache.camel.component.mongodb3.MongoDbConstants.OID; -import static org.apache.camel.component.mongodb3.MongoDbConstants.OPERATION_HEADER; -import static org.apache.camel.component.mongodb3.MongoDbConstants.RECORDS_AFFECTED; -import static org.apache.camel.component.mongodb3.MongoDbConstants.RECORDS_MATCHED; -import static org.apache.camel.component.mongodb3.MongoDbConstants.RESULT_PAGE_SIZE; -import static org.apache.camel.component.mongodb3.MongoDbConstants.RESULT_TOTAL_SIZE; -import static org.apache.camel.component.mongodb3.MongoDbConstants.SORT_BY; -import static org.apache.camel.component.mongodb3.MongoDbConstants.UPSERT; -import static org.apache.camel.component.mongodb3.MongoDbConstants.WRITERESULT; +import static org.apache.camel.component.mongodb.MongoDbConstants.BATCH_SIZE; +import static org.apache.camel.component.mongodb.MongoDbConstants.COLLECTION; +import static org.apache.camel.component.mongodb.MongoDbConstants.COLLECTION_INDEX; +import static org.apache.camel.component.mongodb.MongoDbConstants.CRITERIA; +import static org.apache.camel.component.mongodb.MongoDbConstants.DATABASE; +import static org.apache.camel.component.mongodb.MongoDbConstants.FIELDS_PROJECTION; +import static org.apache.camel.component.mongodb.MongoDbConstants.LIMIT; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MULTIUPDATE; +import static org.apache.camel.component.mongodb.MongoDbConstants.NUM_TO_SKIP; +import static org.apache.camel.component.mongodb.MongoDbConstants.OID; +import static org.apache.camel.component.mongodb.MongoDbConstants.OPERATION_HEADER; +import static org.apache.camel.component.mongodb.MongoDbConstants.RECORDS_AFFECTED; +import static org.apache.camel.component.mongodb.MongoDbConstants.RECORDS_MATCHED; +import static org.apache.camel.component.mongodb.MongoDbConstants.RESULT_PAGE_SIZE; +import static org.apache.camel.component.mongodb.MongoDbConstants.RESULT_TOTAL_SIZE; +import static org.apache.camel.component.mongodb.MongoDbConstants.SORT_BY; +import static org.apache.camel.component.mongodb.MongoDbConstants.UPSERT; +import static org.apache.camel.component.mongodb.MongoDbConstants.WRITERESULT; /** * The MongoDb producer. diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailTrackingConfig.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailTrackingConfig.java index 5bf852d..793e317 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailTrackingConfig.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailTrackingConfig.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; public class MongoDbTailTrackingConfig { diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailTrackingManager.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailTrackingManager.java index d38cb5a..99662bc 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailTrackingManager.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailTrackingManager.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import com.mongodb.MongoClient; import com.mongodb.client.MongoCollection; @@ -26,7 +26,7 @@ import org.bson.conversions.Bson; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; public class MongoDbTailTrackingManager { diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailableCursorConsumer.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailableCursorConsumer.java index de803d8..2e73201 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailableCursorConsumer.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailableCursorConsumer.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.concurrent.ExecutorService; diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailingThread.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailingThread.java index f7af0ee..738a3cd 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailingThread.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailingThread.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import com.mongodb.CursorType; import com.mongodb.MongoCursorNotFoundException; @@ -23,7 +23,7 @@ import org.apache.camel.Exchange; import org.bson.Document; import static com.mongodb.client.model.Filters.gt; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; class MongoDbTailingThread extends MongoAbstractConsumerThread { diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java index f647aa4..84889b4 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbBasicConverters.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3.converters; +package org.apache.camel.component.mongodb.converters; import java.io.File; import java.io.FileInputStream; diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbFallbackConverter.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbFallbackConverter.java index 96f4744..cbb606f 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbFallbackConverter.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/converters/MongoDbFallbackConverter.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3.converters; +package org.apache.camel.component.mongodb.converters; import java.math.BigDecimal; import java.util.Map; diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/processor/idempotent/MongoDbIdempotentRepository.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/processor/idempotent/MongoDbIdempotentRepository.java index c614110..acb5d9a 100644 --- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/processor/idempotent/MongoDbIdempotentRepository.java +++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/processor/idempotent/MongoDbIdempotentRepository.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3.processor.idempotent; +package org.apache.camel.component.mongodb.processor.idempotent; import com.mongodb.ErrorCategory; import com.mongodb.MongoClient; @@ -29,7 +29,7 @@ import org.bson.Document; import org.bson.conversions.Bson; import static com.mongodb.client.model.Filters.eq; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; @ManagedResource(description = "Mongo db based message id repository") public class MongoDbIdempotentRepository extends ServiceSupport implements IdempotentRepository { diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/AbstractMongoDbTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/AbstractMongoDbTest.java index edc7f0e..e049fb3 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/AbstractMongoDbTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/AbstractMongoDbTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.Formatter; import com.mongodb.MongoClient; diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/EmbedMongoConfiguration.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/EmbedMongoConfiguration.java index 7f0af85..3cec1f0 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/EmbedMongoConfiguration.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/EmbedMongoConfiguration.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.io.IOException; import java.net.UnknownHostException; diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoBasicOperationsConfiguration.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoBasicOperationsConfiguration.java index aed53d7..40499ea 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoBasicOperationsConfiguration.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoBasicOperationsConfiguration.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; @@ -22,6 +22,6 @@ import org.springframework.context.annotation.ImportResource; @Configuration @Import(EmbedMongoConfiguration.class) -@ImportResource("org/apache/camel/component/mongodb3/mongoBasicOperationsTest.xml") +@ImportResource("org/apache/camel/component/mongodb/mongoBasicOperationsTest.xml") public class MongoBasicOperationsConfiguration { } diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbAggregateOperationTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbAggregateOperationTest.java index b00230b..9473b5a 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbAggregateOperationTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbAggregateOperationTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.HashMap; import java.util.List; diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBigDecimalConverterTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBigDecimalConverterTest.java index f863850..199bf8a 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBigDecimalConverterTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBigDecimalConverterTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.math.BigDecimal; diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBulkWriteOperationTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBulkWriteOperationTest.java index e9e599c..6e2bec9 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBulkWriteOperationTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBulkWriteOperationTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.Arrays; import java.util.List; diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsConsumerTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsConsumerTest.java index 51cc900..69e1bf4 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsConsumerTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbChangeStreamsConsumerTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import com.mongodb.client.MongoCollection; import com.mongodb.client.model.CreateCollectionOptions; diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbConnectionBeansTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbConnectionBeansTest.java index 781c675..14189da 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbConnectionBeansTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbConnectionBeansTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.Properties; diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbConversionsTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbConversionsTest.java index cb808b2..a5b2ec1 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbConversionsTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbConversionsTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.io.ByteArrayInputStream; import java.util.HashMap; @@ -26,7 +26,7 @@ import org.bson.Document; import org.junit.Test; import static com.mongodb.client.model.Filters.eq; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; public class MongoDbConversionsTest extends AbstractMongoDbTest { diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbDynamicityTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbDynamicityTest.java index f787954..baeda1e 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbDynamicityTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbDynamicityTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.HashMap; import java.util.Map; @@ -26,7 +26,7 @@ import org.bson.Document; import org.junit.Test; import static com.mongodb.client.model.Filters.eq; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; public class MongoDbDynamicityTest extends AbstractMongoDbTest { diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbExceptionHandlingTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbExceptionHandlingTest.java index c23b24d..c1908ae 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbExceptionHandlingTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbExceptionHandlingTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import com.mongodb.DBObject; import org.apache.camel.builder.RouteBuilder; diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbFindOperationTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbFindOperationTest.java index 5e76f1e..361064c 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbFindOperationTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbFindOperationTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.HashMap; import java.util.List; @@ -30,7 +30,7 @@ import org.bson.types.ObjectId; import org.junit.Test; import static com.mongodb.client.model.Filters.eq; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; public class MongoDbFindOperationTest extends AbstractMongoDbTest { diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbHeaderHandlingTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbHeaderHandlingTest.java index 8e04f7f..ee388c6 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbHeaderHandlingTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbHeaderHandlingTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import com.mongodb.client.result.UpdateResult; import org.apache.camel.Exchange; @@ -24,7 +24,7 @@ import org.bson.Document; import org.junit.Test; import static com.mongodb.client.model.Filters.eq; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; public class MongoDbHeaderHandlingTest extends AbstractMongoDbTest { diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbIndexTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbIndexTest.java index 4facc49..8fe7b1f 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbIndexTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbIndexTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.ArrayList; import java.util.Arrays; @@ -36,7 +36,7 @@ import org.junit.Test; import static com.mongodb.client.model.Filters.eq; import static com.mongodb.client.model.Indexes.ascending; import static com.mongodb.client.model.Indexes.descending; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; public class MongoDbIndexTest extends AbstractMongoDbTest { diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOperationsTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOperationsTest.java index 44dddd4..3042f06 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOperationsTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOperationsTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.Arrays; import java.util.Formatter; @@ -43,7 +43,7 @@ import static com.mongodb.client.model.Filters.or; import static com.mongodb.client.model.Updates.combine; import static com.mongodb.client.model.Updates.currentTimestamp; import static com.mongodb.client.model.Updates.set; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; public class MongoDbOperationsTest extends AbstractMongoDbTest { diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOutputTypeTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOutputTypeTest.java index 5752039..7f0b665 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOutputTypeTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOutputTypeTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.HashMap; import java.util.List; @@ -27,7 +27,7 @@ import org.apache.commons.lang3.ObjectUtils; import org.bson.Document; import org.junit.Test; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; public class MongoDbOutputTypeTest extends AbstractMongoDbTest { diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbReadPreferenceOptionTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbReadPreferenceOptionTest.java index a4702b8..bfed84e 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbReadPreferenceOptionTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbReadPreferenceOptionTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import com.mongodb.ReadPreference; import org.apache.camel.Endpoint; diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbSpringDslOperationsTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbSpringDslOperationsTest.java index 47fb4b9b..4bb5e80 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbSpringDslOperationsTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbSpringDslOperationsTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import org.apache.camel.CamelContext; import org.apache.camel.builder.RouteBuilder; diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbStopEndpointTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbStopEndpointTest.java index 1fc2419..e915b47 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbStopEndpointTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbStopEndpointTest.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import org.apache.camel.EndpointInject; import org.apache.camel.builder.RouteBuilder; import org.bson.Document; import org.junit.Test; -import static org.apache.camel.component.mongodb3.MongoDbConstants.MONGO_ID; +import static org.apache.camel.component.mongodb.MongoDbConstants.MONGO_ID; public class MongoDbStopEndpointTest extends AbstractMongoDbTest { diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbTailableCursorConsumerTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbTailableCursorConsumerTest.java index b2f6385..02af695 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbTailableCursorConsumerTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbTailableCursorConsumerTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3; +package org.apache.camel.component.mongodb; import java.util.Calendar; diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/processor/idempotent/MongoDbIdempotentRepositoryTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/processor/idempotent/MongoDbIdempotentRepositoryTest.java index 3b6721e..1c6bbc5 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/processor/idempotent/MongoDbIdempotentRepositoryTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/processor/idempotent/MongoDbIdempotentRepositoryTest.java @@ -14,11 +14,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.mongodb3.processor.idempotent; +package org.apache.camel.component.mongodb.processor.idempotent; import java.util.UUID; -import org.apache.camel.component.mongodb3.AbstractMongoDbTest; +import org.apache.camel.component.mongodb.AbstractMongoDbTest; import org.bson.Document; import org.junit.After; import org.junit.Before; diff --git a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/MongoDbEndpointBuilderFactory.java b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/MongoDbEndpointBuilderFactory.java index 6ce5827..800093e 100644 --- a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/MongoDbEndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/MongoDbEndpointBuilderFactory.java @@ -132,7 +132,7 @@ public interface MongoDbEndpointBuilderFactory { * possible values, see MongoDbOperation. * * The option is a: - * <code>org.apache.camel.component.mongodb3.MongoDbOperation</code> + * <code>org.apache.camel.component.mongodb.MongoDbOperation</code> * type. * * Group: common @@ -147,7 +147,7 @@ public interface MongoDbEndpointBuilderFactory { * possible values, see MongoDbOperation. * * The option will be converted to a - * <code>org.apache.camel.component.mongodb3.MongoDbOperation</code> + * <code>org.apache.camel.component.mongodb.MongoDbOperation</code> * type. * * Group: common @@ -163,7 +163,7 @@ public interface MongoDbEndpointBuilderFactory { * operations. * * The option is a: - * <code>org.apache.camel.component.mongodb3.MongoDbOutputType</code> + * <code>org.apache.camel.component.mongodb.MongoDbOutputType</code> * type. * * Group: common @@ -180,7 +180,7 @@ public interface MongoDbEndpointBuilderFactory { * operations. * * The option will be converted to a - * <code>org.apache.camel.component.mongodb3.MongoDbOutputType</code> + * <code>org.apache.camel.component.mongodb.MongoDbOutputType</code> * type. * * Group: common @@ -669,7 +669,7 @@ public interface MongoDbEndpointBuilderFactory { * possible values, see MongoDbOperation. * * The option is a: - * <code>org.apache.camel.component.mongodb3.MongoDbOperation</code> + * <code>org.apache.camel.component.mongodb.MongoDbOperation</code> * type. * * Group: common @@ -684,7 +684,7 @@ public interface MongoDbEndpointBuilderFactory { * possible values, see MongoDbOperation. * * The option will be converted to a - * <code>org.apache.camel.component.mongodb3.MongoDbOperation</code> + * <code>org.apache.camel.component.mongodb.MongoDbOperation</code> * type. * * Group: common @@ -700,7 +700,7 @@ public interface MongoDbEndpointBuilderFactory { * operations. * * The option is a: - * <code>org.apache.camel.component.mongodb3.MongoDbOutputType</code> + * <code>org.apache.camel.component.mongodb.MongoDbOutputType</code> * type. * * Group: common @@ -717,7 +717,7 @@ public interface MongoDbEndpointBuilderFactory { * operations. * * The option will be converted to a - * <code>org.apache.camel.component.mongodb3.MongoDbOutputType</code> + * <code>org.apache.camel.component.mongodb.MongoDbOutputType</code> * type. * * Group: common @@ -1137,7 +1137,7 @@ public interface MongoDbEndpointBuilderFactory { * possible values, see MongoDbOperation. * * The option is a: - * <code>org.apache.camel.component.mongodb3.MongoDbOperation</code> + * <code>org.apache.camel.component.mongodb.MongoDbOperation</code> * type. * * Group: common @@ -1151,7 +1151,7 @@ public interface MongoDbEndpointBuilderFactory { * possible values, see MongoDbOperation. * * The option will be converted to a - * <code>org.apache.camel.component.mongodb3.MongoDbOperation</code> + * <code>org.apache.camel.component.mongodb.MongoDbOperation</code> * type. * * Group: common @@ -1167,7 +1167,7 @@ public interface MongoDbEndpointBuilderFactory { * operations. * * The option is a: - * <code>org.apache.camel.component.mongodb3.MongoDbOutputType</code> + * <code>org.apache.camel.component.mongodb.MongoDbOutputType</code> * type. * * Group: common @@ -1183,7 +1183,7 @@ public interface MongoDbEndpointBuilderFactory { * operations. * * The option will be converted to a - * <code>org.apache.camel.component.mongodb3.MongoDbOutputType</code> + * <code>org.apache.camel.component.mongodb.MongoDbOutputType</code> * type. * * Group: common @@ -1465,7 +1465,7 @@ public interface MongoDbEndpointBuilderFactory { /** * Proxy enum for - * <code>org.apache.camel.component.mongodb3.MongoDbOperation</code> enum. + * <code>org.apache.camel.component.mongodb.MongoDbOperation</code> enum. */ enum MongoDbOperation { findById, @@ -1486,7 +1486,7 @@ public interface MongoDbEndpointBuilderFactory { /** * Proxy enum for - * <code>org.apache.camel.component.mongodb3.MongoDbOutputType</code> enum. + * <code>org.apache.camel.component.mongodb.MongoDbOutputType</code> enum. */ enum MongoDbOutputType { DocumentList,