Aaron H. Kim Fearless Integration Maniac

A4SWIFT MX – Pipeline components

Aaron Kim

There are two types of SWIFT messaging. MT and MX(ISO20022). A4SWIFT 3.0 is originally designed to be used for MT messaging. But Microsoft supports MX messaing with A4SWIFT 3.0 SP1. Still, there are some other restrictions. For example, A4SWIFT assumes you to use MQSeries Adapter in conjuntion with IBM WebSphere MQ.

this.correlationId = MXRRUtils.GetMXMQCorrelationID(inMsg.Context);  
if (string.IsNullOrEmpty(MXRRUtils.GetMXMQCorrelationID(inMsg.Context)))
public static string GetMXMQCorrelationID(IBasePropertyBag ctx)  
 string str = (string) ctx.Read(MQMD_CorrelId, http://schemas.microsoft.com/BizTalk/2003/mqs-properties”);  

 if (!string.IsNullOrEmpty(str))  
 	return str.ToUpper(CultureInfo.InvariantCulture);  
 return null;  

These codes are from Microsoft.Solutions.FinancialServices.SWIFT.PipelineComponents.MXRR pipeline component which is used by both Receive and Send Pipeline for MX messaging. More importantly, this is a logic that A4SWIFT correlates between messages. So you may end up having to write your own pipeline component for A4SWIFT in case you have to talk to SAA through files.

Similar Posts