Any one try custom policy in 10.5?
this is interesting feature, i think. But i dont see any difference between custom policy and request transformation using flow service.
i have a use case for doing checksum on body message. When the checksum is failed, i want to response 401 status code.
is it possible to doing this with custom policy?
Hi,
Custom policies let you call out to an external HTTP/HTTPS endpoint, AWS lambda functions, JMS/AMQP based endpoint or Invoke webMethods IS service.
You use the custom policy to branch out from the regular policy execution flow, invoke the endpoint, get the response and feed the response back to the other policies. You can do the checksum validation in your endpoint which will be invoked using the custom policy.
IN the next couple of days, we will publish a tech community article on the custom policies.
Regards,
Praveen