locked
ESB itinerary to send the response back to onramp RRS feed

  • Question

  • Hi

    I have an ESB itinerary configured with request response on-ramp.

    My problem is no response sent back when one of the itinerary shape execution fails.

    I would like to send back to the caller (on-ramp) a message(eg: -ve ack xml) back in this case too.

    Any suggestions on how to achieve this

    Solution built on BizTalk 2010, ESB tool kit



    • Edited by Madhu_A Friday, March 27, 2015 6:47 PM
    Friday, March 27, 2015 6:47 PM

All replies

  • Hi

    I have an ESB itinerary configured with request response on-ramp.

    My problem is no response sent back when one of the itinerary shape execution fails.

    I would like to send back to the caller (on-ramp) a message(eg: -ve ack xml) back in this case too.

    Any suggestions on how to achieve this

    Solution built on BizTalk 2010, ESB tool kit



    • Edited by Madhu_A Saturday, March 28, 2015 9:47 AM
    • Merged by Angie Xu Monday, April 6, 2015 6:27 AM duplicate thread
    Saturday, March 28, 2015 9:46 AM
  • Hi Madhu,

    You can use ESB Exception framework. See following link for details:

    http://msdn.microsoft.com/en-us/library/ff699823.aspx

    You have to make use of Exception Management Framework and create and publish fault messages, which can be later subscribed and ESB fault message can be extracted.

    Rachit


    Please mark as answer or vote as helpful if my reply does


    Monday, March 30, 2015 5:10 PM
    Moderator
  • Duplicate thread.

    Refer: ESB itinerary to send the response back to onramp

    Rachit


    Please mark as answer or vote as helpful if my reply does

    • Proposed as answer by Angie Xu Monday, April 6, 2015 6:25 AM
    Monday, March 30, 2015 5:12 PM
    Moderator
  • This is pretty simple with an Orchestration.

    Why do you need to use an Itinerary?

    Monday, March 30, 2015 5:34 PM
    Moderator
  • Thank you for the reply Rachit.

    As per my understanding approach which you said will publish fault msg and then in offline it will read by some other component (using orch or esb portal)

    My ESB itinerary does not contain Orch. It has flow like below

    OnRamp (Request- Response)--> Transformations(using BRE)--> Off ramp(calling Request- Response WCF service)-->Transfomrations(RespToInternalFormat)-->Off ramp(calling Request- Response WCF service to update DB)-->Route this Response to OnRamp


    Even If something fails in middle of itinerary shapes, I would like to send a response message back to OnRamp saying like "Rejected due to internal errors, contact admin"

    How can I send this?


    If this post answers your question, please mark it as such. If this post is helpful, click 'Vote as helpful'.


    • Edited by Madhu_A Tuesday, March 31, 2015 3:26 PM
    Tuesday, March 31, 2015 3:25 PM