camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [5/6] camel git commit: CAMEL-8123 Fixed the build error of camel-mina2
Date Fri, 05 Dec 2014 05:42:26 GMT
CAMEL-8123 Fixed the build error of camel-mina2


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/7ea3d0ec
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7ea3d0ec
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7ea3d0ec

Branch: refs/heads/master
Commit: 7ea3d0ec30b6b88358ca298a7e8e752a15dfbc2f
Parents: 27e13d9
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Fri Dec 5 10:56:01 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Fri Dec 5 11:02:06 2014 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/mina2/Mina2Producer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7ea3d0ec/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Producer.java
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Producer.java
b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Producer.java
index 0766979..132abe3 100644
--- a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Producer.java
+++ b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Producer.java
@@ -315,7 +315,7 @@ public class Mina2Producer extends DefaultProducer implements ServicePoolAware
{
         if (configuration.getSslContextParameters() != null) {
             SslFilter filter = new SslFilter(configuration.getSslContextParameters().createSSLContext(),
configuration.isAutoStartTls());
             filter.setUseClientMode(true);
-            acceptor.getFilterChain().addFirst("sslFilter", filter);
+            connector.getFilterChain().addFirst("sslFilter", filter);
         }
         configureCodecFactory("Mina2Producer", connector);
         connector.setConnectTimeoutMillis(timeout);


Mime
View raw message