Chaining of Processor Using Chain Adapter
Procedure
- In the Configuration Manager, click the Endpoints tab and then click Call Transformation.
- In the Adapter field, input the name of the chain adapter. For example, com.mashery.proxy.customer.generic.oauth2-jwt-authenticator.
- As per your requirement, select the checkbox for Perform Preprocess/Perform Postprocess or both.
-
In the
Preinputs field, type the processors to be chained. The name of the processor is the processor's bean name. The syntax is:
processors:PROCESSOR1,PROCESSOR2
For example:
processors:com.mashery.local.MasheryCustomProcessorOne,com.mashery.local.MasheryCustomProcessorTwo
You can also provide configuration data as input. The syntax is:
PROCCESSOR1.parameter:value PROCCESSOR1.parameter:value PROCCESSOR2.parameter:value PROCCESSOR2.parameter:value
- In the Postinputs field, input the name of the processor that the traffic manager can use to post-process the calls, then click Save.