Start of Content Area

Procedure documentation Adding RequestOnewayBean in the Module Processor  Locate the document in its SAP Library structure

Use

You use the RequestOnewayBean module to convert an inbound message to an asynchronous message. You use the module in a sync/async bridge for sender and receiver channels.

If you are using the module in a sender adapter, it sends the asynchronous message to the messaging system.

If you are using the module in a receiver adapter, it sends the asynchronous message to a receiver.

If you configure the module in passThrough mode, it forwards the message to the adapter modules.

Prerequisites

You have configured a communication channel and are on the Module tab page in change mode.

Procedure

Add the Module in the Processing Sequence

...

       1.      Under Module Name, enter AF_Modules/RequestOnewayBean before the module name of the adapter.

       2.      Under Module Type, enter Local Enterprise Bean.

The default module key is displayed.

       3.      Enter parameter names and values in the module configuration.

Your entries depend on whether you are using the module in a sender or receiver adapter.

Add Parameters in the Module Configuration for the Sender Adapter

...

To determine who the module is to forward the message to, enter passThrough  under Parameter Name.

      If you want the module to forward the message to the next module in the module chain, enter true under Parameter Value.

      If you want the module to call the messaging system, enter false under Parameter Value.

This is the default value.

Add Parameters in the Module Configuration for the Receiver Adapter

       1.      If you want the module to forward the message to the next module in the module chain, enter passThrough under Parameter Name.

Under Parameter Value, enter true.

       2.      To determine the receiver channel, enter receiverParty under Parameter Name.

Under Parameter Value, specify the receiver party.

If you do not set this parameter, the information is taken from the message header of the message.

       3.      To determine the receiver channel, enter receiverServiceunder Parameter Name.

Under Parameter Value, enter the receiver communication component.

If you do not set this parameter, the information is taken from the message header of the message.

       4.      To determine the receiver channel, enter receiverChannelunder Parameter Name.

Under Parameter Value, enter the receiver channel.

If you do not set this parameter, the system searches for the collaboration agreement corresponding to the information from the message header of the message.

       5.      To determine the receiver channel, enter adapterType under Parameter Name.

Under Parameter Value, enter the adapter type.

       6.      To determine the receiver channel, enter adapterNamespaceunder Parameter Name.

Under Parameter Value, enter the adapter namespace.

 

End of Content Area