Running PHP code

Use the IBM Integration API to modify a pattern instance to run PHP scripts from within your Java™ code.

You can run PHP scripts from within the IBM Integration API by using the runScript() method of the PatternInstanceManager object. In the following example, the IBM Integration API runs a PHP script in the com.your.company.domain.code plug-in, templates/script.php.
@Override
public void onGeneratePatternInstance (PatternInstanceManager patternInstanceManager) {
	patternInstanceManager.runScript("com.your.company.domain.code", "templates/script.php");
}