cancel
Showing results for 
Search instead for 
Did you mean: 

How to fail one message in a message split scenario during runtime and process it later?

0 Kudos
312

Hi All,

I have an interface where following conditions must be met.

1. Source message is split into message 1 and message 2 in message mapping.

2. Condition is, if there are no UKMS Lookup errors, create only message 2 and do not create message 1.

3. If there are UKMS Lookup errors, create message 1 to send error emails to concerned teams. Also, message 2 should be created and should go to error in runtime, such that once UKMS Lookup table is updated, message 2 can be reprocessed from PI.

The current configuration I've made fulfills 2nd step. When there are no errors, it's only creating message 2 in message mapping as well as in runtime.

But when there are errors, only message 1 is being created in runtime. But as per requirement, even message 2 should be created and it should go to error.

Please let me know how to solve this glitch.

View Entire Topic
former_member190293
Active Contributor
0 Kudos

Hi Poornima!

You could use SOAP Loopback approach to fulfill your requirement. File is splitted into chunks and is sent to second ICo where SOAP sender adapter is used in EOIO mode. So if the message is failed in second ICo (you can raise exception in message mapping, for example), the queue is stopped. And CMBA could be used to send e-mail alert if exception occurs.

Regards, Evgeniy.