camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 02/02: Camel-AWS: Lets use AbstractAmazonMQ in the AWS MQ Client Mock for tests
Date Tue, 02 Oct 2018 12:35:25 GMT
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 060e2cd179ecf7a9c02ad2e380d1857492d49d54
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Tue Oct 2 14:34:16 2018 +0200

    Camel-AWS: Lets use AbstractAmazonMQ in the AWS MQ Client Mock for tests
---
 .../java/org/apache/camel/component/aws/mq/AmazonMQClientMock.java   | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/components/camel-aws/src/test/java/org/apache/camel/component/aws/mq/AmazonMQClientMock.java
b/components/camel-aws/src/test/java/org/apache/camel/component/aws/mq/AmazonMQClientMock.java
index 082874a..4016ad6 100644
--- a/components/camel-aws/src/test/java/org/apache/camel/component/aws/mq/AmazonMQClientMock.java
+++ b/components/camel-aws/src/test/java/org/apache/camel/component/aws/mq/AmazonMQClientMock.java
@@ -21,7 +21,7 @@ import java.util.List;
 
 import com.amazonaws.AmazonWebServiceRequest;
 import com.amazonaws.ResponseMetadata;
-import com.amazonaws.services.mq.AmazonMQ;
+import com.amazonaws.services.mq.AbstractAmazonMQ;
 import com.amazonaws.services.mq.model.BrokerState;
 import com.amazonaws.services.mq.model.BrokerSummary;
 import com.amazonaws.services.mq.model.ConfigurationId;
@@ -59,9 +59,8 @@ import com.amazonaws.services.mq.model.UpdateConfigurationRequest;
 import com.amazonaws.services.mq.model.UpdateConfigurationResult;
 import com.amazonaws.services.mq.model.UpdateUserRequest;
 import com.amazonaws.services.mq.model.UpdateUserResult;
-import com.sun.corba.se.pept.broker.Broker;
 
-public class AmazonMQClientMock implements AmazonMQ {
+public class AmazonMQClientMock extends AbstractAmazonMQ {
 
     public AmazonMQClientMock() {
         super();


Mime
View raw message