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 2019/05/16 07:36:47 UTC

[camel] 01/04: Camel-Soroush: Remove usage of deprecated stuff

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 88e78455c2b41c9245d119a2a8fa18d1ca8b5341
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu May 16 09:19:18 2019 +0200

    Camel-Soroush: Remove usage of deprecated stuff
---
 .../component/ExponentialBackOffProducerConnectionRetryTest.java       | 3 ++-
 .../soroushbot/component/FixedBackOffProducerConnectionRetryTest.java  | 3 ++-
 .../soroushbot/component/LinearBackOffProducerConnectionRetryTest.java | 3 ++-
 .../component/MaxRetryWaitingTimeProducerConnectionRetryTest.java      | 3 ++-
 .../camel/component/soroushbot/component/ProducerAutoUploadFile.java   | 2 +-
 .../component/soroushbot/component/ProducerAutoUploadFileIsFalse.java  | 2 +-
 .../component/soroushbot/component/ProducerConnectionRetryTest.java    | 3 ++-
 .../camel/component/soroushbot/component/ProducerDownloadFile.java     | 2 +-
 .../soroushbot/component/ProducerDownloadFileWithoutThumbnail.java     | 2 +-
 .../soroushbot/component/ProducerMaxConnectionRetryReachedTest.java    | 3 ++-
 .../org/apache/camel/component/soroushbot/component/ProducerTest.java  | 3 ++-
 .../camel/component/soroushbot/component/ProducerUploadFile.java       | 2 +-
 12 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ExponentialBackOffProducerConnectionRetryTest.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ExponentialBackOffProducerConnectionRetryTest.java
index 5ff248e..d682e76 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ExponentialBackOffProducerConnectionRetryTest.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ExponentialBackOffProducerConnectionRetryTest.java
@@ -33,7 +33,8 @@ import org.junit.Before;
 import org.junit.Test;
 
 public class ExponentialBackOffProducerConnectionRetryTest extends SoroushBotTestSupport {
-    @EndpointInject(uri = "direct:soroush")
+	
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
     @Override
diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/FixedBackOffProducerConnectionRetryTest.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/FixedBackOffProducerConnectionRetryTest.java
index 9ca1384..9871a42 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/FixedBackOffProducerConnectionRetryTest.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/FixedBackOffProducerConnectionRetryTest.java
@@ -31,7 +31,8 @@ import org.junit.Before;
 import org.junit.Test;
 
 public class FixedBackOffProducerConnectionRetryTest extends SoroushBotTestSupport {
-    @EndpointInject(uri = "direct:soroush")
+	
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
     @Override
diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/LinearBackOffProducerConnectionRetryTest.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/LinearBackOffProducerConnectionRetryTest.java
index 7c222f3..eadb4c5 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/LinearBackOffProducerConnectionRetryTest.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/LinearBackOffProducerConnectionRetryTest.java
@@ -31,7 +31,8 @@ import org.junit.Before;
 import org.junit.Test;
 
 public class LinearBackOffProducerConnectionRetryTest extends SoroushBotTestSupport {
-    @EndpointInject(uri = "direct:soroush")
+	
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
     @Override
diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/MaxRetryWaitingTimeProducerConnectionRetryTest.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/MaxRetryWaitingTimeProducerConnectionRetryTest.java
index 7dcd953..d5813c3 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/MaxRetryWaitingTimeProducerConnectionRetryTest.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/MaxRetryWaitingTimeProducerConnectionRetryTest.java
@@ -33,7 +33,8 @@ import org.junit.Before;
 import org.junit.Test;
 
 public class MaxRetryWaitingTimeProducerConnectionRetryTest extends SoroushBotTestSupport {
-    @EndpointInject(uri = "direct:soroush")
+
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
     @Override
diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerAutoUploadFile.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerAutoUploadFile.java
index 9793218..eafedd2 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerAutoUploadFile.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerAutoUploadFile.java
@@ -35,7 +35,7 @@ import org.junit.Test;
 
 public class ProducerAutoUploadFile extends SoroushBotTestSupport {
 
-    @EndpointInject(uri = "direct:soroush")
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
     @Override
diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerAutoUploadFileIsFalse.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerAutoUploadFileIsFalse.java
index 23cd800..cc37f99 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerAutoUploadFileIsFalse.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerAutoUploadFileIsFalse.java
@@ -35,7 +35,7 @@ import org.junit.Test;
 
 public class ProducerAutoUploadFileIsFalse extends SoroushBotTestSupport {
 
-    @EndpointInject(uri = "direct:soroush")
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
     @Override
diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerConnectionRetryTest.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerConnectionRetryTest.java
index f3bfd50..274505a 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerConnectionRetryTest.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerConnectionRetryTest.java
@@ -31,7 +31,8 @@ import org.junit.Before;
 import org.junit.Test;
 
 public class ProducerConnectionRetryTest extends SoroushBotTestSupport {
-    @EndpointInject(uri = "direct:soroush")
+	
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
     @Override
diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerDownloadFile.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerDownloadFile.java
index d181f99..3acdeca 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerDownloadFile.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerDownloadFile.java
@@ -37,7 +37,7 @@ import org.junit.Test;
 
 public class ProducerDownloadFile extends SoroushBotTestSupport {
 
-    @EndpointInject(uri = "direct:soroush")
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
 
diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerDownloadFileWithoutThumbnail.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerDownloadFileWithoutThumbnail.java
index 74c572d..8e5f269 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerDownloadFileWithoutThumbnail.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerDownloadFileWithoutThumbnail.java
@@ -37,7 +37,7 @@ import org.junit.Test;
 
 public class ProducerDownloadFileWithoutThumbnail extends SoroushBotTestSupport {
 
-    @EndpointInject(uri = "direct:soroush")
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
 
diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerMaxConnectionRetryReachedTest.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerMaxConnectionRetryReachedTest.java
index fe650d6..245efd6 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerMaxConnectionRetryReachedTest.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerMaxConnectionRetryReachedTest.java
@@ -32,7 +32,8 @@ import org.junit.Before;
 import org.junit.Test;
 
 public class ProducerMaxConnectionRetryReachedTest extends SoroushBotTestSupport {
-    @EndpointInject(uri = "direct:soroush")
+	
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
     @Override
diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerTest.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerTest.java
index f0a0f77..552fb2e 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerTest.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerTest.java
@@ -31,7 +31,8 @@ import org.junit.Before;
 import org.junit.Test;
 
 public class ProducerTest extends SoroushBotTestSupport {
-    @EndpointInject(uri = "direct:soroush")
+	
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
     @Override
diff --git a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerUploadFile.java b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerUploadFile.java
index a69e908..14a914e 100644
--- a/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerUploadFile.java
+++ b/components/camel-soroush/src/test/java/org/apache/camel/component/soroushbot/component/ProducerUploadFile.java
@@ -35,7 +35,7 @@ import org.junit.Test;
 
 public class ProducerUploadFile extends SoroushBotTestSupport {
 
-    @EndpointInject(uri = "direct:soroush")
+    @EndpointInject("direct:soroush")
     org.apache.camel.Endpoint endpoint;
 
     @Override