How to enable dynamic invocation of an endpoint with a wired MQ data binding import, using SMO.
You create a mediation module that includes the dynamic endpoint, by performing tasks in WebSphere® Integration Developer.
The MQ endpoint used in the dynamic invocation is structured using a subset of the MQ URI standard.
wmq:/msg/queue/queueName wmq:/msg/queue/queueName@qmgr
Dynamic invocation takes place when the export is invoked with a message containing routing criteria that resolve to SvcProvider 2. The mediation flow component identifies the routing criteria in the message. The mediation flow component uses the Message Element Setter primitive to set the new target address in the SMO, using the incoming message content and routing criteria. Alternatively, the mediation flow component might use the Business Object Map or XSL Transformation primitives to set the new target address.
The callout uses information from the SMO to invoke SvcProvider 2. Any response is returned by the response flow to the caller of export.
A one-way invocation message works the same way as a two-way message, except that no response message is returned.
A runtime exception occurs if an invalid target address is set in the SMO header. The exception is thrown by the import, and returned in the response flow.