XML messages lost while reading using MQ Connector & XML
Posted: Mon Feb 02, 2009 11:36 pm
Hi,
we are using DS MQ Connector stage to read xml messages from Websphere MQ. Then using XML i/p stage, the message is split into individual xml elements and then inserted into Target DB2 table.
'Message Read Mode' read mode property is set to 'Delete Under Transacton'.
In case of Incorrect message structure(which xml i/p stage fails to interprete) or in case Job aborting due to some reason, the message read from the Queue is deleted from the Queue even though it is not written into Target table.
In this case, the message is lost forever and tracing it becomes impossible.
Is there any way where the messages are not deleted untill the job runs/ transaction completes successfully.?
Or is there some mechanism where the unsuccessful messages are caught in Reject file.?
Please provide your suggestions/ alternative solutions to this issue.
we are using DS MQ Connector stage to read xml messages from Websphere MQ. Then using XML i/p stage, the message is split into individual xml elements and then inserted into Target DB2 table.
'Message Read Mode' read mode property is set to 'Delete Under Transacton'.
In case of Incorrect message structure(which xml i/p stage fails to interprete) or in case Job aborting due to some reason, the message read from the Queue is deleted from the Queue even though it is not written into Target table.
In this case, the message is lost forever and tracing it becomes impossible.
Is there any way where the messages are not deleted untill the job runs/ transaction completes successfully.?
Or is there some mechanism where the unsuccessful messages are caught in Reject file.?
Please provide your suggestions/ alternative solutions to this issue.