Skip to Content
avatar image
Former Member

status of message in sync-async brige

Hi Experts,

I have a requirement in which, PI is consuming WS(sync) from third party and sending it back to ECC system(adapter not decided yet)

but in addition to it, customer wants that 3rd party system should get a response back, detailing if message has been processed by PI system or not, without getting ECC involved

so basically its like ws(sync)<..>PI ..>ecc(asyn)

Is it Possible to know status of messgae?

I know just abt sync async bridge

Pls note PI system is at 7.31

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 16, 2017 at 08:08 PM

    Hi Nunu!

    You could use another approach without using any custom modules.

    1. Add RequestOnewayBean and WaitResponseBean modules in Sender channel.

    2. Add the additional interface for receiver or create additional dummy receiver system. Using additional interface for the same receiver looks even better since you can use "Maintain Order at Runtime" option to ensure that message was successfully delivered to ECC system before sending response to sender.

    3. Use any kind of mapping for that receiver/interface to build response with needed data and correlation id.

    4. In receiver channel for that system/interface add NotifyResponseBean module and remove standard module.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Nunu!

      Please clarify first: if you want to send response to sender generated by PI (not the receiver system) - why do you need ECC response interface? PI will close synchronous request with its generated message. At ECC side the receiving interface becomes asynchronous.

      Regards, Evgeniy.

  • Aug 16, 2017 at 11:07 AM

    Hi Nunu,

    If i understand correctly you need to trigger response back as soon as PI receives it without waiting for backed ECC response . In this case you can use the custom module described in this blog.

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Manoj,

      this would be helpful, buth here we are sending message-id in a response but I want to send status of message.

      Can you help me with that?