Package com.prowidesoftware.swift.utils
Class AckMessageComparator
- java.lang.Object
-
- com.prowidesoftware.swift.utils.SwiftMessageComparator
-
- com.prowidesoftware.swift.utils.AckMessageComparator
-
- All Implemented Interfaces:
java.util.Comparator<SwiftMessage>
public class AckMessageComparator extends SwiftMessageComparator
ASwiftMessageComparator
tailored for typical ACK matching using the full original message copy.Compares all values from block 1 2 3 and 4, ignoring session and sequence number in block1. The trailer block 5 if present in any of the messages is also ignored. Regarding multiline fields the EOL must be an exact match (meaning CRLF is not the same as just LF). And for block 2 Input, the optional fields for the Delivery Monitoring and Obsolescence Period are ignored during comparison.
For ACK matching based on the MUR, see
MurMessageComparator
-
-
Field Summary
-
Fields inherited from class com.prowidesoftware.swift.utils.SwiftMessageComparator
ignoreBlock2OptionalFields, ignoreBlock3, ignoreEolsInMultiline, ignoreHeaderSession, ignoreLocationFlag, ignoreLT, ignorePriority, ignoreTrailer
-
-
Constructor Summary
Constructors Constructor Description AckMessageComparator()
-
Method Summary
-
Methods inherited from class com.prowidesoftware.swift.utils.SwiftMessageComparator
addTagnameToIgnore, compare, compareB1, compareB2, compareTagListBlock, getTagnamesToIgnore, isIgnoreBlock2OptionalFields, isIgnoreBlock3, isIgnoreEolsInMultiline, isIgnoreHeaderSession, isIgnoreLocationFlag, isIgnoreLT, isIgnorePriority, isIgnoreTrailer, setIgnoreBlock2OptionalFields, setIgnoreBlock3, setIgnoreEolsInMultiline, setIgnoreHeaderSession, setIgnoreLocationFlag, setIgnoreLT, setIgnorePriority, setIgnoreTrailer, setTagnamesToIgnore
-
-