Monday, 2 March 2015

Integration of XML messages from a MQ queue



I am working on the integration of several types of XML messages from different queues (SWIFT MX) using Spring Integration. And I am having doubts regarding the best practices to be used here because I have a performance constraint.


Specifically, should I stock the XML messages received before starting their integration? And can I avoid usage of Two-Phase Commit to ensure that messages won't be lost?


Just to be more illustrative, here is how the integration flow would be:


GET_XML_from_MQ => Stock_XML_in_Oracle => UnMarshall_XML => Integrate_data_in_Oracle => Commit_global_Transaction => Generate_Ack => Send_Ack_to_MQ


Thanks in advance everyone.


No comments:

Post a Comment