You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2018/11/22 22:48:46 UTC
[camel] branch sandbox/camel-3.x updated: Fix broken build
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch sandbox/camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/sandbox/camel-3.x by this push:
new 1ae6c35 Fix broken build
1ae6c35 is described below
commit 1ae6c35c0371069078f0fe97e56c1081df0cd90a
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Nov 22 23:48:28 2018 +0100
Fix broken build
---
.../java/org/apache/camel/component/thrift/ThriftProducer.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/components/camel-thrift/src/main/java/org/apache/camel/component/thrift/ThriftProducer.java b/components/camel-thrift/src/main/java/org/apache/camel/component/thrift/ThriftProducer.java
index ce501cf..307786a 100644
--- a/components/camel-thrift/src/main/java/org/apache/camel/component/thrift/ThriftProducer.java
+++ b/components/camel-thrift/src/main/java/org/apache/camel/component/thrift/ThriftProducer.java
@@ -19,14 +19,13 @@ package org.apache.camel.component.thrift;
import java.io.IOException;
import org.apache.camel.AsyncCallback;
-import org.apache.camel.AsyncProcessor;
import org.apache.camel.AsyncProducer;
import org.apache.camel.Exchange;
import org.apache.camel.Message;
import org.apache.camel.component.thrift.client.AsyncClientMethodCallback;
-import org.apache.camel.support.DefaultProducer;
-import org.apache.camel.util.ObjectHelper;
+import org.apache.camel.support.DefaultAsyncProducer;
import org.apache.camel.support.jsse.SSLContextParameters;
+import org.apache.camel.util.ObjectHelper;
import org.apache.thrift.TException;
import org.apache.thrift.transport.TNonblockingSocket;
import org.apache.thrift.transport.TNonblockingTransport;
@@ -38,7 +37,7 @@ import org.apache.thrift.transport.TTransportException;
/**
* Represents asynchronous and synchronous Thrift producer implementations
*/
-public class ThriftProducer extends DefaultProducer implements AsyncProducer {
+public class ThriftProducer extends DefaultAsyncProducer implements AsyncProducer {
protected final ThriftConfiguration configuration;
protected final ThriftEndpoint endpoint;