I have two target endpoints for the same proxy. One target endpoint is default and the url gets build dynamically. The second target endpoint has a defined URL which I am using an assignMessage policy to set in order to override the default URL (this flow is conditional).
What I want to do is set up a 2-way SSL connection to that conditional target endpoint. The documentation that I have seen so far talks about modifying the HTTPTargetEndPoint info in ‘default’. But I don’t want SSL connection for all target endpoint .. I just want it for that conditional flow.
How can I do this in my assignMessage policy?