question

darrenslade-7674 avatar image
0 Votes"
darrenslade-7674 asked darrenslade-7674 commented

Forwarding XML message to a new destination IP ( thats IN the XML )

Hi guys

The problem is simple, we will receive messages to Azure in XML format, INDISDE this message is the IP address of where it SHOULD be sent, we need to proxy those messages to the correct IP ( don't ask why, its a long an boring answer ).

The plan so far is to send the messages to Service Bus, trigger a logic app that will open the message, strip out the IP, then send that message to that IP....

However, is there a way Service Bus or another tool in Azure could do this whilst leaving any sockets for responses open ? Kind of smart reverse proxy ? Or just in a more efficient way ?

Any ideas or help appreciated.

thanks




azure-logic-appsazure-service-bus
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ChaitanyaNaykodiMSFT-9638 avatar image
0 Votes"
ChaitanyaNaykodiMSFT-9638 answered

Hello @darrenslade-7674, Thank you for reaching out.

You could use a Service Bus triggered Azure Function App in this scenario to write a custom code which fetches the IP and formats the message in a required way. You can then forward this message to service bus using the output binding of the function app which then triggers the Logic app. From the logic app you can then perform an POST HTTP action and get the returned response.

Please let me know if there are any concerns. Thank you!


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.