Commit b3ed858d authored by Andre Freyssinet's avatar Andre Freyssinet

Fix error in idleTimeOut value (in seconds not milliseconds).

parent a5e48526
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2017 ScalAgent Distributed Technologies
* Copyright (C) 2017 - 2020 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -49,7 +49,7 @@ public class Admin {
Queue queueDist = new RestDistributionQueue()
.setHost("localhost")
.setPort(8989)
.setIdleTimeout(10000)
.setIdleTimeout(10)
.create(1, "queueDist", "queue");
queueDist.setFreeWriting();
System.out.println("joram distribution queue = " + queueDist);
......@@ -58,7 +58,7 @@ public class Admin {
.setHost("localhost")
.setPort(8989)
.setTimeout(5000)
.setIdleTimeout(10000)
.setIdleTimeout(10)
.create(1, "queueAcq", "queue");
queueAcq.setFreeReading();
System.out.println("joram acquisition queue = " + queueAcq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment