com.bea.alsb.financial.api
Class IdentificationAPI
java.lang.Object
com.bea.alsb.financial.api.IdentificationAPI
public final class IdentificationAPI
- extends Object
Facade API for identifying a message.
Method Summary |
static SwiftHeaderDocument |
identifyStringMessage(String message)
Identifies [the type of] a String message for ISO 15022. |
identifyStringMessage
public static SwiftHeaderDocument identifyStringMessage(String message)
throws IdentificationException
- Identifies [the type of] a String message for ISO 15022. This returns an xml containing information about
the message SWIFT headers including the MT message number. To distinguish between NAK and ACK, parsing the
message is necessary.
For more details about the xml structure refers to the schemas provided with the facade Jar file.
- Parameters:
message
- the message to identify [the type of].
- Returns:
- the meta-data about the message.
- Throws:
IdentificationException
- for identification problems.