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 058ddc0  Camel-NATS: Let flush the connection anyway
058ddc0 is described below

commit 058ddc0c2090566d5a22d2ce18345237c0b5b1da
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Apr 6 12:49:58 2020 +0200

    Camel-NATS: Let flush the connection anyway
---
 .../main/java/org/apache/camel/component/nats/NatsConfiguration.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsConfiguration.java
 
b/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsConfiguration.java
index f4da01c..5d570c6 100644
--- 
a/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsConfiguration.java
+++ 
b/components/camel-nats/src/main/java/org/apache/camel/component/nats/NatsConfiguration.java
@@ -71,8 +71,8 @@ public class NatsConfiguration {
     private String maxMessages;
     @UriParam(label = "consumer", defaultValue = "10")
     private int poolSize = 10;
-    @UriParam(label = "common", defaultValue = "false")
-    private boolean flushConnection;
+    @UriParam(label = "common", defaultValue = "true")
+    private boolean flushConnection = true;
     @UriParam(label = "common", defaultValue = "1000")
     private int flushTimeout = 1000;
     @UriParam(label = "security")

Reply via email to