If I set "success.codes" in a TargetEndpoint as shown below:
<TargetEndpoint name="default"> ... <HTTPTargetConnection> <Properties> <Property name="success.codes">400, 500</Property> </Properties> <URL>http://weather.yahooapis.com</URL> </HTTPTargetConnection> </TargetEndpoint>
Does it overwrite the current value of "success.codes" or append to it?
If it appends to it, should the correct setting be as below to preserve the defaults?
<Property name="success.codes">1xx,2xx,3xx,400,500</Property>
Thanks,
Stephen
Solved! Go to Solution.
@sgilson,
Yes, It overrides it. It doesn't append.
With below property
<Property name="success.codes">1xx,2xx,3xx,404,500</Property>
apigee.edge.execution.is_target_error value is empty in AX insertion.
With below property
<Property name="success.codes">1xx,3xx,404,500</Property>
apigee.edge.execution.is_target_error value is 1 even though i got 200 response back.
Cheers,
Anil Sagar
In the question above, I meant to say:
If it overwrites to it, should the correct setting be as below to preserve the defaults?
<Propertyname="success.codes">1xx,2xx,3xx,400,500</Property>
@sgilson,
Yes, It overrides it. It doesn't append.
With below property
<Property name="success.codes">1xx,2xx,3xx,404,500</Property>
apigee.edge.execution.is_target_error value is empty in AX insertion.
With below property
<Property name="success.codes">1xx,3xx,404,500</Property>
apigee.edge.execution.is_target_error value is 1 even though i got 200 response back.
Cheers,
Anil Sagar
Thanks Anil
Anytime 🙂 @sgilson See updated screenshots for more details..
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |