Nav

To Configure a Request-Reply Scope (Anypoint Studio)

  1. Drag and drop a Request-Reply scope from the Mule Palette to your flow and double click it to display its Mule properties view.

  2. Configure the scope’s attributes according to the table below.

    image

    Field Description

    Display Name

    Defines unique value for the element in the application.

    Value: String
    Required: Yes

    Prefix of the Object Store

    Defines the object store name prefix in which Mule should store request-reply messages.

    Value: String
    Required: No

    Timeout (ms)

    Defines the time the asynchronous process remains alive before timing out. This defines how long the inbound-connector waits for a response.

    Value: Integer
    Required: No

  3. Drag and drop an outbound-connector from the Mule Palette to the Request section of the scope and configure it to submit requests to your desired endpoint.

  4. Drag and drop an inbound-connector from the Mule Palette to the Reply portion of the scope and configure it to receive responses

The scope ensures that the activity that occurs within it proceeds asynchronously, relative to the rest of the flow.

image

In this topic: