To Configure a Request-Reply Scope (Anypoint Studio)
-
Drag and drop a Request-Reply scope from the Mule Palette to your flow and double click it to display its Mule properties view.
-
Configure the scope’s attributes according to the table below.
Field Description Display Name
Defines unique value for the element in the application.
Value: String
Required: YesPrefix of the Object Store
Defines the object store name prefix in which Mule should store request-reply messages.
Value: String
Required: NoTimeout (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 -
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.
-
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.