Redirecting a request to 3 EndPoints

Options
ace4ever
ace4ever Posts: 5 ✭

I have a requirement where i have to redirect an incoming request to 3 different endpoints, i know that Virtualize has an option to forward a message but from what i know only 1 response will be generated.
Is there a way i can use Virtualize and redirect the response to 3 endpoints?

Tagged:

Comments

  • williammccusker
    williammccusker Posts: 718 ✭✭✭
    Options

    You could attach message clients to the responder send the extra messages to the different endpoints.

  • ace4ever
    ace4ever Posts: 5 ✭
    Options

    @williammccusker thanks for the response, i am able to do redirect the message to one of the endpoints but since there is only 1 incoming message how do i redirect it to multiple endpoints?

  • williammccusker
    williammccusker Posts: 718 ✭✭✭
    Options

    You can attach multiple messaging clients, one for each endpoint you wish to send to.

  • [Deleted User]
    [Deleted User] Posts: 0 admin
    edited October 2017
    Options

    ace4ever,

    As @williammccusker recommended, you may chain multiple messaging clients to your Responder. Like this:

    If you wish to redirect the incoming Request Message to different endpoints, your setup would require a databank to capture the request message content so that you may forward the same message to all your endpoints using the messaging clients:

  • ace4ever
    ace4ever Posts: 5 ✭
    Options

    Thanks again @williammccusker . @OmarR thanks for the detailed suggestion, i will try it and get back with results.

Tagged