<?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: SFTP - RequestResponseBean. Message is processed in Serial? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sftp-requestresponsebean-message-is-processed-in-serial/qaa-p/12175888#M4553403</link>
    <description>&lt;P&gt;You could try this approch if the parallel process is necessary:&lt;/P&gt;&lt;P&gt;Go to NWA in Java System properties-&amp;gt;Services and select the XPI Service: AF Core and the property "messaging.connectionDefinition" :&lt;/P&gt;&lt;P&gt;You can configure the max worker count values according to your specific needs, using the "messaging.connectionDefinition" property of the "SAP XI AF Core" service. Using the "name=global" entry some global template settings are defined. For each adapter type these defaults can be individually overwritten, by adding additional configuration entries, according to the follwing syntax:&lt;BR /&gt;&lt;BR /&gt;messaging.connectionDefinition=(name=global,...)(name=&amp;lt;AdapterTypeIdentifier&amp;gt;, Send.maxConsumers=&amp;lt;a&amp;gt;, Recv.maxConsumers=&amp;lt;b&amp;gt;, Call.maxConsumers=&amp;lt;c&amp;gt;, Rqst.maxConsumers=&amp;lt;d&amp;gt;)&lt;BR /&gt;&lt;BR /&gt;with &amp;lt;AdapterTypeIdentifier&amp;gt;=&amp;lt;AdapterType&amp;gt;_&amp;lt;Namespace&amp;gt;&lt;BR /&gt;(e.g.: File_http://sap.com/xi/XI/System)&lt;/P&gt;&lt;P&gt;ALLERT: Do this if the parallel process is realy necessary&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jan 2020 07:50:16 GMT</pubDate>
    <dc:creator>former_member608139</dc:creator>
    <dc:date>2020-01-20T07:50:16Z</dc:date>
    <item>
      <title>SFTP - RequestResponseBean. Message is processed in Serial?</title>
      <link>https://community.sap.com/t5/technology-q-a/sftp-requestresponsebean-message-is-processed-in-serial/qaq-p/12175885</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I have an sender SFTP channel configured with RequestResponseBean. The modules are configured in the following order:&lt;/P&gt;
  &lt;OL&gt;
   &lt;LI&gt;AF_Modules/RequestResponseBean&lt;/LI&gt;
   &lt;LI&gt;localejbs/CallSapAdapter&lt;BR /&gt;&lt;/LI&gt;
   &lt;LI&gt;AF_Modules/ResponseOnewayBean&lt;BR /&gt;&lt;/LI&gt;
  &lt;/OL&gt;
  &lt;P&gt;Here are the parameters configured:&lt;/P&gt;
  &lt;UL&gt;
   &lt;LI&gt;passThrough = true&lt;/LI&gt;
   &lt;LI&gt;receiverChannel = [name of the response receiver channel]&lt;BR /&gt;&lt;/LI&gt;
   &lt;LI&gt;receiverService = [name of the response receiver service]&lt;BR /&gt;&lt;/LI&gt;
  &lt;/UL&gt;
  &lt;P&gt;Now, I have 5 files in the folder. When the channel is started to process those 5 files, I thought those 5 files could be sent and processed in parallel (just like how normal SFTP channel behave). But I observe the log that the channel will only process the next file after processing the previous file is finished:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1772458-sftp.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Notice the around 10 second interval in the red rectangle, 10 second is the approximate time to process 1 message. Only after 10 seconds the next message is processed.&lt;/P&gt;
  &lt;P&gt;Seems like it is waiting to receive the response first before continue processing the next file. Is this the behavior of a sender synchronous channel (cannot process multiple messages in parallel)? Or is this the behavior of RequestResponseBean module?&lt;/P&gt;
  &lt;P&gt;My 2 cents is because after the localejbs/CallSapAdapter run, the next module which is AF_Modules/ResponseOnewayBean, is still blocking the process by waiting for the response, that's why the channel cannot continue to process the next file? Is there a way to make it process multiple files in parallel?&lt;/P&gt;
  &lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jan 2020 15:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sftp-requestresponsebean-message-is-processed-in-serial/qaq-p/12175885</guid>
      <dc:creator>suwandi_cahyadi</dc:creator>
      <dc:date>2020-01-19T15:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP - RequestResponseBean. Message is processed in Serial?</title>
      <link>https://community.sap.com/t5/technology-q-a/sftp-requestresponsebean-message-is-processed-in-serial/qaa-p/12175886#M4553401</link>
      <description>&lt;P&gt;Have you tried adding these modules in reciver channel of first flow ?&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jan 2020 15:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sftp-requestresponsebean-message-is-processed-in-serial/qaa-p/12175886#M4553401</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2020-01-19T15:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP - RequestResponseBean. Message is processed in Serial?</title>
      <link>https://community.sap.com/t5/technology-q-a/sftp-requestresponsebean-message-is-processed-in-serial/qaa-p/12175887#M4553402</link>
      <description>&lt;P&gt;This is the correctly behavior because all the File Comunication channels working in EOIO ( exactly once in order ).  ; )&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 07:38:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sftp-requestresponsebean-message-is-processed-in-serial/qaa-p/12175887#M4553402</guid>
      <dc:creator>former_member608139</dc:creator>
      <dc:date>2020-01-20T07:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP - RequestResponseBean. Message is processed in Serial?</title>
      <link>https://community.sap.com/t5/technology-q-a/sftp-requestresponsebean-message-is-processed-in-serial/qaa-p/12175888#M4553403</link>
      <description>&lt;P&gt;You could try this approch if the parallel process is necessary:&lt;/P&gt;&lt;P&gt;Go to NWA in Java System properties-&amp;gt;Services and select the XPI Service: AF Core and the property "messaging.connectionDefinition" :&lt;/P&gt;&lt;P&gt;You can configure the max worker count values according to your specific needs, using the "messaging.connectionDefinition" property of the "SAP XI AF Core" service. Using the "name=global" entry some global template settings are defined. For each adapter type these defaults can be individually overwritten, by adding additional configuration entries, according to the follwing syntax:&lt;BR /&gt;&lt;BR /&gt;messaging.connectionDefinition=(name=global,...)(name=&amp;lt;AdapterTypeIdentifier&amp;gt;, Send.maxConsumers=&amp;lt;a&amp;gt;, Recv.maxConsumers=&amp;lt;b&amp;gt;, Call.maxConsumers=&amp;lt;c&amp;gt;, Rqst.maxConsumers=&amp;lt;d&amp;gt;)&lt;BR /&gt;&lt;BR /&gt;with &amp;lt;AdapterTypeIdentifier&amp;gt;=&amp;lt;AdapterType&amp;gt;_&amp;lt;Namespace&amp;gt;&lt;BR /&gt;(e.g.: File_http://sap.com/xi/XI/System)&lt;/P&gt;&lt;P&gt;ALLERT: Do this if the parallel process is realy necessary&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 07:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sftp-requestresponsebean-message-is-processed-in-serial/qaa-p/12175888#M4553403</guid>
      <dc:creator>former_member608139</dc:creator>
      <dc:date>2020-01-20T07:50:16Z</dc:date>
    </item>
  </channel>
</rss>

