diff --git a/jpos/src/main/java/org/jpos/q2/iso/MUXPool.java b/jpos/src/main/java/org/jpos/q2/iso/MUXPool.java index 833e6a2400..fca8483a79 100644 --- a/jpos/src/main/java/org/jpos/q2/iso/MUXPool.java +++ b/jpos/src/main/java/org/jpos/q2/iso/MUXPool.java @@ -91,7 +91,7 @@ public ISOMsg request (ISOMsg m, long timeout) throws ISOException { } public void send (ISOMsg m) throws ISOException, IOException { - long maxWait = 1000L; // reasonable default + long maxWait = System.currentTimeMillis() + 1000L; // reasonable default MUX mux = getMUX(m,maxWait); if (mux == null)