Skip to Content
avatar image
Former Member

JMS -Synchonous

Hi,

Please let me know whether JMS can be used synchronously. I have a typical scenario where i get xml file and send it to Webservice thru soap and receive a response message which i need to pass it on to JMS.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 30, 2007 at 06:52 AM

    JMS is supported asynchronous process only.....

    Follow this approac:

    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

    Use JMS instead of File and Use your webservice instead of BAPI.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 30, 2007 at 06:55 AM

    You will have to use correlation and implement a bridge. Do refer the following document on the same - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 30, 2007 at 06:57 AM

    Hi Anandha,

    Refer SAP note 856346:

    <i>2.3. Question: Which XI quality of services (QoS for short) are supported?

    Answer: XI recognizes the QoS Best Effort (BE, synchronous), Exactly Once (EO, asynchronous) and Exactly Once In Order (EOIO, asynchronous). The JMS Adapter supports EO and EOIO, since JMS is itself an asynchronous message service.</i>

    U need to configure ur scenario in this way

    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19

    Or u may also opt for BPM

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 30, 2007 at 07:05 AM

    Guys,

    To clarify further

    XML file is pushed into JMS and sent to XI which XI sends reply message back to JMS.

    Do advise whether we need to go for BPM or any other alternative

    Add comment
    10|10000 characters needed characters exceeded

    • one option is https://weblogs.sdn.sap.com/pub/wlg/1926. [original link is broken] [original link is broken] [original link is broken] [original link is broken] Replace File with JMS.

      In case you are on SP19, then use the following method to avoid BPM;

      this is an extract from an earlier post

      <i>From SP 19 on XI 3.0 and SP 10 on PI 7.0, a File - RFC - File ( Asynch - Synch ) scenario can be done without a BPM.

      Steps:

      Integration Repository

      The Integration Repository will be similar to any Synchronous Scenario ( say HTTP - RFC ) . 1 Outbound Synch message Interface and 1 Inbound Synch Message Interface.

      Integration Directory

      This is where a few differences lie, so let me take some time.

      1. The Receiver Determination , Interface Determination will be the same as in HTTP - RFC synch scenario. Create the Sender File Adapter, Receiver RFC Adapter and Receiver File Adapter.

      2. Sender Agreement will be for the Sender File Adapter. Sender Agreement uses the Synch Outbound Message Interface.

      3. Receiver Agreement will be for the Receiver RFC adapter. Receievr Agreement will use the RFC as thge Inbound Message Interface.

      4. We need to add a few modules in the Sender File Adapter.

      Go to the Modules Tab of the Sender File Adater, and add the following modules in the same sequence,

      Number - ModuleName - Type - ModuleKey

      1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1

      2- CallSapAdapter-Local Enterprise Bean - 2

      3-AF_Modules/ResponseOnewayBean-3

      Parameters

      ModuleKey - ParameterName - ParameterValue

      1 - passThrough - true

      3-receiverChannel - Receiver File Adapter Name

      3-receiverService - Receiver Business Service/ System</i>