You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/07/19 08:40:36 UTC

[camel] 02/02: CAMEL-12664 - Removed NatsPropertiesConstants class as it is not used anymore

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

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

commit 31ae174cf8251f8847d2700ca14fce50e8b91258
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jul 19 10:37:35 2018 +0200

    CAMEL-12664 - Removed NatsPropertiesConstants class as it is not used anymore
---
 .../apache/camel/component/nats/NatsProducer.java  |  3 ---
 .../component/nats/NatsPropertiesConstants.java    | 31 ----------------------
 2 files changed, 34 deletions(-)

diff --git a/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsProducer.java b/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsProducer.java
index c8ac879..085b8ab 100644
--- a/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsProducer.java
+++ b/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsProducer.java
@@ -18,10 +18,7 @@ package org.apache.camel.component.nats;
 
 import java.io.IOException;
 import java.security.GeneralSecurityException;
-import java.security.NoSuchAlgorithmException;
 import java.time.Duration;
-import java.util.Properties;
-import java.util.concurrent.TimeoutException;
 
 import javax.net.ssl.SSLContext;
 
diff --git a/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsPropertiesConstants.java b/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsPropertiesConstants.java
deleted file mode 100644
index 61e5431..0000000
--- a/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsPropertiesConstants.java
+++ /dev/null
@@ -1,31 +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.
- */
-package org.apache.camel.component.nats;
-
-public interface NatsPropertiesConstants {
-    String NATS_PROPERTY_URL = "io.nats.client.url";
-    String NATS_PROPERTY_VERBOSE = "io.nats.client.verbose";
-    String NATS_PROPERTY_PEDANTIC = "io.nats.client.pedantic";
-    String NATS_PROPERTY_RECONNECT = "io.nats.client.reconnect.allowed";
-    String NATS_PROPERTY_SSL = "io.nats.client.secure";
-    String NATS_PROPERTY_MAX_RECONNECT_ATTEMPTS = "io.nats.client.reconnect.max";
-    String NATS_PROPERTY_RECONNECT_TIME_WAIT = "io.nats.client.reconnect.wait";
-    String NATS_PROPERTY_PING_INTERVAL = "io.nats.client.pinginterval";
-    String NATS_PROPERTY_DONT_RANDOMIZE_SERVERS = "io.nats.client.norandomize";
-    String NATS_PROPERTY_QUEUE = "queue";
-    String NATS_PROPERTY_MAX_MESSAGES = "max";
-}