Created
April 13, 2011 12:32
-
-
Save ar/917454 to your computer and use it in GitHub Desktop.
MUX patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/jpos/src/main/java/org/jpos/q2/iso/QMUX.java b/jpos/src/main/java/org/jpos/q2/iso/QMUX.java | |
index cedffdc..1dacefa 100644 | |
--- a/jpos/src/main/java/org/jpos/q2/iso/QMUX.java | |
+++ b/jpos/src/main/java/org/jpos/q2/iso/QMUX.java | |
@@ -271,6 +271,8 @@ public class QMUX | |
if (timeout > 0) | |
DefaultTimer.getTimer().schedule (ar, timeout); | |
} | |
+ if (sp.rdp (req)) | |
+ throw new ISOException ("Duplicate key " + req + " detected"); | |
sp.out (req, ar, timeout); | |
sp.out (out, m, timeout); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment