<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Exception response not being sent  back to HTTPS Sender Adapter in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/exception-response-not-being-sent-back-to-https-sender-adapter/qaa-p/12263009#M4593202</link>
    <description>&lt;P&gt;Hi Shruthi,&lt;/P&gt;&lt;P&gt;Have you tried using an exception end event in your exception subprocess? &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robson&lt;/P&gt;</description>
    <pubDate>Fri, 04 Dec 2020 17:47:13 GMT</pubDate>
    <dc:creator>robsonchiarello</dc:creator>
    <dc:date>2020-12-04T17:47:13Z</dc:date>
    <item>
      <title>Exception response not being sent  back to HTTPS Sender Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/exception-response-not-being-sent-back-to-https-sender-adapter/qaq-p/12263008</link>
      <description>&lt;P&gt;I am using HTTPS Sender Adapter in my IFLOW.I want to handle the exceptions.&lt;/P&gt;
  &lt;P&gt;I have the parameter Return Exception To Sender checked. But I am still getting a generic message when an exception occurs and not the exception message.&lt;/P&gt;
  &lt;P&gt;Use Case: I am using a Splitter and exception occurs when processing of a record fails. I have Stop on Exception checked in the Splitter.&lt;/P&gt;
  &lt;P&gt;I have tried adding a Exception SubProcess with a Content Modifier. But this also does not send the exception message to the Sender.&lt;/P&gt;
  &lt;P&gt;How can I send the exception text back to HTTPS Sender?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 19:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/exception-response-not-being-sent-back-to-https-sender-adapter/qaq-p/12263008</guid>
      <dc:creator>former_member29087</dc:creator>
      <dc:date>2020-12-03T19:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exception response not being sent  back to HTTPS Sender Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/exception-response-not-being-sent-back-to-https-sender-adapter/qaa-p/12263009#M4593202</link>
      <description>&lt;P&gt;Hi Shruthi,&lt;/P&gt;&lt;P&gt;Have you tried using an exception end event in your exception subprocess? &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robson&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 17:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/exception-response-not-being-sent-back-to-https-sender-adapter/qaa-p/12263009#M4593202</guid>
      <dc:creator>robsonchiarello</dc:creator>
      <dc:date>2020-12-04T17:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exception response not being sent  back to HTTPS Sender Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/exception-response-not-being-sent-back-to-https-sender-adapter/qaa-p/12263010#M4593203</link>
      <description>&lt;P&gt;Hi Robson,&lt;/P&gt;&lt;P&gt;Yes I have added and tried that too. Its not sending back the exception response.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 17:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/exception-response-not-being-sent-back-to-https-sender-adapter/qaa-p/12263010#M4593203</guid>
      <dc:creator>former_member29087</dc:creator>
      <dc:date>2020-12-04T17:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exception response not being sent  back to HTTPS Sender Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/exception-response-not-being-sent-back-to-https-sender-adapter/qaa-p/12263011#M4593204</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In order to read the exception's message text and send it to external system, you need to read property "&lt;STRONG&gt;&lt;EM&gt;CamelExceptionCaught&lt;/EM&gt;&lt;/STRONG&gt;" and use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;def ex = map.get("CamelExceptionCaught"); // Get exception caught
def messageCust = ex.getResponseBody(); // Read the message from exception
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;finally,send captured message text from "messageCust" to external system using setBody() method call.&lt;/P&gt;&lt;P&gt;For more details please check: &lt;A href="https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/LATEST/en-US/a443efe1d5d2403fb95ee9def1a672d4.html" target="test_blank"&gt;https://help.sap.com/viewer/368c481cd6954bdfa5d0435479fd4eaf/LATEST/en-US/a443efe1d5d2403fb95ee9def1a672d4.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 22:14:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/exception-response-not-being-sent-back-to-https-sender-adapter/qaa-p/12263011#M4593204</guid>
      <dc:creator>former_member226</dc:creator>
      <dc:date>2020-12-04T22:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exception response not being sent  back to HTTPS Sender Adapter</title>
      <link>https://community.sap.com/t5/technology-q-a/exception-response-not-being-sent-back-to-https-sender-adapter/qaa-p/12263012#M4593205</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;shruthi.dhiraj&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;In the Exception Subprocess while you use a content modifier where you can pass the exception in the body as ${exception.message}.&lt;BR /&gt;Copy down the same ${exception.message} in a content modifier before the end event of the main iflow you can send the response to the Sender back&lt;BR /&gt;&lt;BR /&gt;You can test this in Postman and check.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijender&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2020 13:17:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/exception-response-not-being-sent-back-to-https-sender-adapter/qaa-p/12263012#M4593205</guid>
      <dc:creator>VijenderGouda</dc:creator>
      <dc:date>2020-12-06T13:17:07Z</dc:date>
    </item>
  </channel>
</rss>

