prowide-core SRU2024-10.2.5 API
Prowide SWIFT Core
Prowide Core is an open source Java framework for managing SWIFT messages.
What's included?
- Java model for ISO 15022 MT (ex:
MT103
andField32A
classes, for all MT message categories) Parser
from SWIFT (FIN or RJE) into Java- Builder API from Java to SWIFT (FIN or
RJE
) - Conversion to
JSON
and proprietaryXML
- Complementary model suited for
persistence
Java model for MT SWIFT messages
The message model for MT messages is a set of Java classes representing the structure and content of a SWIFT MT (ISO 15022) message.
It is designed in three layers of specific use; each provide a different level of abstraction.
Persistence - Lightweight Layer
Generic representation for messages intended for persistence. It can be thought of as a wrapper of a swift message file.
The model includes specific attributes for headers and trailer information, while the body content (business payload) is kept as single String
attribute (not parsed).
It is specially suited for optimal database persistence, sharing a simple and efficient database structure for all message types including MX.
The main classes for this layer are the AbstractSwiftMessage
and MtSwiftMessage
.
Parse/Build - Functional Layer
This layer provides a specific classes for each message type and field. It can be thinked of as a facade or view of the internal message content.
The entry point for this layer is the AbstractMT
and all its subclasses that represent a specific message type.
This model is specially suited to read content from messages.
Backbone - Structure Layer
The message representation at this level handles the message content as simple tuples of field name and field value and implements low level handling of sequences and block. This model is quite simple, generic and loosely coupled to specific messages, therefore being very efficient and requiring minimal construction constraints.
Messages in this layer are represented by the SwiftMessage
class, with its internal name-value tuples modeled by the Tag
class.
This layer is also the one used for content modification.
Additional resources
- Documentation: https://dev.prowidesoftware.com/resources
- Code examples: https://github.com/prowide/prowide-core-examples
- Source code: https://github.com/prowide/prowide-core
The project is active since 2006, production ready and commercially supported by Prowide Software.
For SWIFT messages validation, extended MX support, GUI application and more, please check the Integrator version at https://www.prowidesoftware.com/products/integrator
SWIFT is a trademark of S.W.I.F.T. SCRL.