Package | Description |
---|---|
com.apigee.flow.execution | |
com.apigee.flow.execution.spi | |
com.apigee.flow.message |
The Apigee Edge Java Callout policy lets you implement in Java custom behavior that is not included out-of-the-box by Apigee policies. In your Java code, you can access message properties (headers, query parameters, content) and flow variables in the proxy flow.
If you're just getting started with this policy, see How to create a Java Callout. The topic explains how to write, compile, package, deploy, and test a simple Java callout project.
This Javadoc describes the classes and methods that are required for writing Java callouts. The basic pattern is to implement the Execution.execute()
method. This method gives you access to two important objects: MessageContext and ExecutionContext. Methods on these objects let you access request and response properties, such as headers, query parameters, and message content. You can also access flow variables in the Edge proxy flow.
To learn more about making Java callouts, refer to these topics and how-to examples: