This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch CAMEL-13402
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/CAMEL-13402 by this push:
new 983d78b Fixing coaps component reference
983d78b is described below
commit 983d78b2c0ca0e7a9d38d1e1221bbce76eec82f2
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Mon Apr 29 18:15:28 2019 +0100
Fixing coaps component reference
---
.../main/java/org/apache/camel/coap/CoAPComponent.java | 2 +-
.../META-INF/services/org/apache/camel/component/coaps | 18 ------------------
2 files changed, 1 insertion(+), 19 deletions(-)
diff --git
a/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPComponent.java
b/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPComponent.java
index 6c213ef..446d7a5 100644
---
a/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPComponent.java
+++
b/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPComponent.java
@@ -44,7 +44,7 @@ import org.slf4j.LoggerFactory;
/**
* Represents the component that manages {@link CoAPEndpoint}.
*/
-@Component("coap")
+@Component("coap,coaps")
public class CoAPComponent extends DefaultComponent implements
RestConsumerFactory {
static final int DEFAULT_PORT = 5684;
private static final Logger LOG =
LoggerFactory.getLogger(CoAPComponent.class);
diff --git
a/components/camel-coap/src/main/resources/META-INF/services/org/apache/camel/component/coaps
b/components/camel-coap/src/main/resources/META-INF/services/org/apache/camel/component/coaps
deleted file mode 100644
index e0129bc..0000000
---
a/components/camel-coap/src/main/resources/META-INF/services/org/apache/camel/component/coaps
+++ /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.
-#
-
-class=org.apache.camel.coap.CoAPComponent