camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/4] git commit: Fixed wrong timeout default in camel-mina2
Date Wed, 07 Aug 2013 06:59:34 GMT
Fixed wrong timeout default in camel-mina2


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

Branch: refs/heads/master
Commit: 0d17ff78e0fa5d5635483a02a3e6bd9c9d4da0a2
Parents: 8db1922
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Aug 7 08:58:11 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Aug 7 08:58:11 2013 +0200

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


http://git-wip-us.apache.org/repos/asf/camel/blob/0d17ff78/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Configuration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Configuration.java
b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Configuration.java
index 3e28e34..245de3c 100644
--- a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Configuration.java
+++ b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Configuration.java
@@ -38,7 +38,7 @@ public class Mina2Configuration implements Cloneable {
     private Mina2TextLineDelimiter textlineDelimiter;
     private ProtocolCodecFactory codec;
     private String encoding;
-    private long timeout = 3000;
+    private long timeout = 30000;
     private boolean lazySessionCreation = true;
     private boolean transferExchange;
     private boolean minaLogger;

http://git-wip-us.apache.org/repos/asf/camel/blob/0d17ff78/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 139e3a8..a5c9c3c 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
@@ -313,7 +313,6 @@ public class Mina2Producer extends DefaultProducer implements ServicePoolAware
{
             connector.getFilterChain().addFirst("sslFilter", new SslFilter(configuration.getSslContextParameters().createSSLContext(),
configuration.isAutoStartTls()));
         }
         configureCodecFactory("Mina2Producer", connector);
-        // set connect timeout to mina in seconds
         connector.setConnectTimeoutMillis(timeout);
     }
 


Mime
View raw message