Session persistence based on http header for machine to machine calls
Hi,
Can you please help me understand what would be required(or if it is even possible) to support the following scenario:
BackendApplication(not a browser) ->API Gateway -> LB -> App Node 1, App Node 2, AppNode 3.
I need to have the requests sent by a backend application to be routed to the same App Node based on a custom http header containing a message identifier(something similar with a session id) that is included in the request.
Before reaching the LB, the request goes through an application gateway that has multiple nodes. This means that it is possible for multiple requests with the same message identifier to reach the LB from different source ips.
Is it required that all requests with the same message identifier to be forwarded by the same gateway node for the LB to be able to do a session persistence based on the message identifier?
Can the session persistence be done by defining a custom irule that uses the message identifier from the request header?
Thank-you!
Awesome!
Thank-you very much for your help!