Modeling Guide

ResponseCallbackInjector

This operator can be used to inject a response callback into the incoming message so that when its callback is invoked, the response message is emitted from this operator. This operator is only needed when the operator which generates a response cannot directly deliver the response message to the operator which initiated the request response invocation.

More concretely, this operator intercepts a request message containing no response callback handle (message.response.callback) which enters from its "in" port, injects a new response callback handle into the message, and fowards this message to its "out" port. Another operator can directly or indirectly invoke this callback, which triggers this operator to send the response message out of its "resp" port.

Configuration Parameters

None

Input

Input

Type

Description

in

message

Request message to this operator.

Output

Output

Type

Description

out

message

Request message to be sent to a sequence of operators.

outError

message

Response message emitted from this operator.