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/03/12 10:27:16 UTC

[camel] branch master updated: Camel-AWS-EKS: Avoid deprecated uri on Pojo annotations

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


The following commit(s) were added to refs/heads/master by this push:
     new 7ccbd7e  Camel-AWS-EKS: Avoid deprecated uri on Pojo annotations
7ccbd7e is described below

commit 7ccbd7eb123be1f50b46ea8cc8c9c1abd18fe29e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 12 11:26:53 2019 +0100

    Camel-AWS-EKS: Avoid deprecated uri on Pojo annotations
---
 .../test/java/org/apache/camel/component/aws/eks/EKSProducerTest.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/components/camel-aws-eks/src/test/java/org/apache/camel/component/aws/eks/EKSProducerTest.java b/components/camel-aws-eks/src/test/java/org/apache/camel/component/aws/eks/EKSProducerTest.java
index 5c82c48..2793328 100644
--- a/components/camel-aws-eks/src/test/java/org/apache/camel/component/aws/eks/EKSProducerTest.java
+++ b/components/camel-aws-eks/src/test/java/org/apache/camel/component/aws/eks/EKSProducerTest.java
@@ -28,7 +28,6 @@ import org.apache.camel.Exchange;
 import org.apache.camel.Processor;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.impl.JndiRegistry;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
@@ -37,7 +36,7 @@ public class EKSProducerTest extends CamelTestSupport {
     @BindToRegistry("amazonEksClient")
     AmazonEKSClientMock clientMock = new AmazonEKSClientMock();
     
-    @EndpointInject(uri = "mock:result")
+    @EndpointInject("mock:result")
     private MockEndpoint mock;
     
     @Test