This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit b52b772d22757e18a8632b87e6e260f966671763
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon Jul 25 16:52:26 2022 +0200

    CAMEL-18229: renamed the adapter properties file to match the existing 
naming pattern
---
 .../camel/resume/{adapter.properties => Adapter}       |  2 +-
 .../main/resources/org/apache/camel/resume/Adapter}    |  2 +-
 .../org/apache/camel/resume/adapter.properties         | 18 ------------------
 .../camel/resume/{adapter.properties => Adapter}       |  2 +-
 .../camel/resume/{adapter.properties => Adapter}       |  2 +-
 .../camel/resume/{adapter.properties => Adapter}       |  2 +-
 .../main/resources/org/apache/camel/resume/Adapter}    |  2 +-
 .../org/apache/camel/resume/adapter.properties         | 18 ------------------
 .../properties/{adapter.properties => Adapter}         |  0
 .../org/apache/camel/support/resume/AdapterHelper.java |  4 ++--
 10 files changed, 8 insertions(+), 44 deletions(-)

diff --git 
a/components/camel-atom/src/main/resources/org/apache/camel/resume/adapter.properties
 b/components/camel-atom/src/main/resources/org/apache/camel/resume/Adapter
similarity index 93%
copy from 
components/camel-atom/src/main/resources/org/apache/camel/resume/adapter.properties
copy to components/camel-atom/src/main/resources/org/apache/camel/resume/Adapter
index 3504fd3a39f..c32e5e5ab78 100644
--- 
a/components/camel-atom/src/main/resources/org/apache/camel/resume/adapter.properties
+++ b/components/camel-atom/src/main/resources/org/apache/camel/resume/Adapter
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 
-adapterClass=org.apache.camel.component.atom.UpdatedDateFilter
+class=org.apache.camel.component.atom.UpdatedDateFilter
diff --git 
a/components/camel-atom/src/main/resources/org/apache/camel/resume/adapter.properties
 
b/components/camel-aws/camel-aws2-kinesis/src/main/resources/org/apache/camel/resume/Adapter
similarity index 92%
copy from 
components/camel-atom/src/main/resources/org/apache/camel/resume/adapter.properties
copy to 
components/camel-aws/camel-aws2-kinesis/src/main/resources/org/apache/camel/resume/Adapter
index 3504fd3a39f..f39c417887c 100644
--- 
a/components/camel-atom/src/main/resources/org/apache/camel/resume/adapter.properties
+++ 
b/components/camel-aws/camel-aws2-kinesis/src/main/resources/org/apache/camel/resume/Adapter
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 
-adapterClass=org.apache.camel.component.atom.UpdatedDateFilter
+class=org.apache.camel.component.aws2.kinesis.consumer.KinesisDefaultResumeAdapter
diff --git 
a/components/camel-aws/camel-aws2-kinesis/src/main/resources/org/apache/camel/resume/adapter.properties
 
b/components/camel-aws/camel-aws2-kinesis/src/main/resources/org/apache/camel/resume/adapter.properties
deleted file mode 100644
index faded762861..00000000000
--- 
a/components/camel-aws/camel-aws2-kinesis/src/main/resources/org/apache/camel/resume/adapter.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements.  See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License.  You may obtain a copy of the License at
-##
-##      http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-adapterClass=org.apache.camel.component.aws2.kinesis.consumer.KinesisDefaultResumeAdapter
diff --git 
a/components/camel-cassandraql/src/main/resources/org/apache/camel/resume/adapter.properties
 
b/components/camel-cassandraql/src/main/resources/org/apache/camel/resume/Adapter
similarity index 93%
rename from 
components/camel-cassandraql/src/main/resources/org/apache/camel/resume/adapter.properties
rename to 
components/camel-cassandraql/src/main/resources/org/apache/camel/resume/Adapter
index 336c53d8298..ca5a3ee17dc 100644
--- 
a/components/camel-cassandraql/src/main/resources/org/apache/camel/resume/adapter.properties
+++ 
b/components/camel-cassandraql/src/main/resources/org/apache/camel/resume/Adapter
@@ -16,4 +16,4 @@
 ## ---------------------------------------------------------------------------
 
 
-adapterClass=org.apache.camel.support.resume.ResumeActionAwareAdapter
+class=org.apache.camel.support.resume.ResumeActionAwareAdapter
diff --git 
a/components/camel-couchbase/src/main/resources/org/apache/camel/resume/adapter.properties
 b/components/camel-couchbase/src/main/resources/org/apache/camel/resume/Adapter
similarity index 93%
rename from 
components/camel-couchbase/src/main/resources/org/apache/camel/resume/adapter.properties
rename to 
components/camel-couchbase/src/main/resources/org/apache/camel/resume/Adapter
index 336c53d8298..ca5a3ee17dc 100644
--- 
a/components/camel-couchbase/src/main/resources/org/apache/camel/resume/adapter.properties
+++ 
b/components/camel-couchbase/src/main/resources/org/apache/camel/resume/Adapter
@@ -16,4 +16,4 @@
 ## ---------------------------------------------------------------------------
 
 
-adapterClass=org.apache.camel.support.resume.ResumeActionAwareAdapter
+class=org.apache.camel.support.resume.ResumeActionAwareAdapter
diff --git 
a/components/camel-couchdb/src/main/resources/org/apache/camel/resume/adapter.properties
 b/components/camel-couchdb/src/main/resources/org/apache/camel/resume/Adapter
similarity index 93%
rename from 
components/camel-couchdb/src/main/resources/org/apache/camel/resume/adapter.properties
rename to 
components/camel-couchdb/src/main/resources/org/apache/camel/resume/Adapter
index 80310b84de3..9bf147a072d 100644
--- 
a/components/camel-couchdb/src/main/resources/org/apache/camel/resume/adapter.properties
+++ 
b/components/camel-couchdb/src/main/resources/org/apache/camel/resume/Adapter
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 
-adapterClass=org.apache.camel.support.resume.ResumeActionAwareAdapter
+class=org.apache.camel.support.resume.ResumeActionAwareAdapter
diff --git 
a/components/camel-atom/src/main/resources/org/apache/camel/resume/adapter.properties
 b/components/camel-file/src/main/resources/org/apache/camel/resume/Adapter
similarity index 92%
rename from 
components/camel-atom/src/main/resources/org/apache/camel/resume/adapter.properties
rename to 
components/camel-file/src/main/resources/org/apache/camel/resume/Adapter
index 3504fd3a39f..fbdc0e532f2 100644
--- 
a/components/camel-atom/src/main/resources/org/apache/camel/resume/adapter.properties
+++ b/components/camel-file/src/main/resources/org/apache/camel/resume/Adapter
@@ -15,4 +15,4 @@
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
 
-adapterClass=org.apache.camel.component.atom.UpdatedDateFilter
+class=org.apache.camel.component.file.consumer.adapters.FileResumeAdapterDelegate
diff --git 
a/components/camel-file/src/main/resources/org/apache/camel/resume/adapter.properties
 
b/components/camel-file/src/main/resources/org/apache/camel/resume/adapter.properties
deleted file mode 100644
index bb7eec9fbd3..00000000000
--- 
a/components/camel-file/src/main/resources/org/apache/camel/resume/adapter.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements.  See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License.  You may obtain a copy of the License at
-##
-##      http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-adapterClass=org.apache.camel.component.file.consumer.adapters.FileResumeAdapterDelegate
diff --git 
a/core/camel-core/src/test/resources/org/apache/camel/component/properties/adapter.properties
 
b/core/camel-core/src/test/resources/org/apache/camel/component/properties/Adapter
similarity index 100%
rename from 
core/camel-core/src/test/resources/org/apache/camel/component/properties/adapter.properties
rename to 
core/camel-core/src/test/resources/org/apache/camel/component/properties/Adapter
diff --git 
a/core/camel-support/src/main/java/org/apache/camel/support/resume/AdapterHelper.java
 
b/core/camel-support/src/main/java/org/apache/camel/support/resume/AdapterHelper.java
index 23e6ff5fb60..8cba73d480b 100644
--- 
a/core/camel-support/src/main/java/org/apache/camel/support/resume/AdapterHelper.java
+++ 
b/core/camel-support/src/main/java/org/apache/camel/support/resume/AdapterHelper.java
@@ -33,8 +33,8 @@ import org.slf4j.LoggerFactory;
 
 public final class AdapterHelper {
     private static final Logger LOG = 
LoggerFactory.getLogger(AdapterHelper.class);
-    private static final String ADAPTER_PROPERTIES = 
"/org/apache/camel/resume/adapter.properties";
-    private static final String PROP_ADAPTER_CLASS = "adapterClass";
+    private static final String ADAPTER_PROPERTIES = 
"/org/apache/camel/resume/Adapter";
+    private static final String PROP_ADAPTER_CLASS = "class";
 
     private AdapterHelper() {
     }

Reply via email to