Contents

Popular

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Java Call Out policy provides a way to inject any custom Java modules as part of the message flow. The call out handler needs to implement implements a Java interface to onto which complete processing context is passed.  

...

Location of Jar File

The jar file which has the class name. The same jar location must be added to the configuration of gateway servers. Navigate to FIORANO_HOME > esb > server > bin. Add the path (location) of the jar file in the server.conf file under the tag <java.classpath>.    

Is Streaming Supported

The This option can be checked if the class does not access or modify the payload and that it works only works with parameters and context variables.

Accessing Processor Context

The This method process has the variable processor context whose methods are listed below. The methods can be used to access or modify the message.

...

The following class demonstrates the use of Java call out. The class inspects the parameter ID and verifies whether or not the details corresponding to the ID are present in a local database. If present, the details are set as payload and a flag RETRIEVED_FROM_DB will be set so that the execution of other policies can be controlled by rules based on this flag. 

...

Adaptavist ThemeBuilder EngineAtlassian Confluence