Skip to Content

Suppress exception after processing in exception subprocess

I'm developing an Iflow which needs to process two types of messages with a dependency: upon sending message type X to the receiver channel we first need to make sure message type Y has been send.

I implemented this with the data store functionality: processed type Y messages are in datastore Y, yet unprocessable type X messages are in datastore X.

The issue is in the validation from message X that message Y has been send,the get operation to data store Y does not yield result. Then an exception is thrown, resulting in a failed message in the MPL. Is it possible to suppress this exception? When the get operation does not succeed I simply want to store the type X message in datastore X, and the result of the processing should be completed in the MPL.

Thanks in advance!


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 05, 2017 at 03:08 PM

    Hello Bram,

    If I am not wrong you want to send Message X only after Message Y reached receiver.

    You can leverage Sequential Multicast to achieve the same.It waits till the first call is successfully processed and then process the second.


    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      You can add a Groovy script to delay the execution for 5 min

      int waitFor = 5; // minutes 
      Thread.sleep(waitFor * 1000); 

      Best regards,
      Mohamed Amine.