apigee - How to force a Response in the Request flow skipping the Target Endpoint -
in apigee border api proxy, while processing policies in api proxy request flow, how 1 can forcefulness flow go response flow , skip sending request target service, without using raise fault policy or responsecache policy??
you can utilize routerule no targetendpoint value. take status matches when want bypass target service. routerules evaluated in order top bottom, first status match beingness chosen.
<routerule name="notarget"> <condition>skiptarget = true</condition> <!-- no target endpoint --> </routerule> <routerule name="default"> <!-- no condition, 1 matches --> <targetendpoint>default</targetendpoint> </routerule>
see this link more info.
apigee
No comments:
Post a Comment