WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
Running PHP code using the Message Broker Java API
Use the Message Broker Java™ API to modify a pattern instance to run PHP scripts from within your Java code.
You can run PHP scripts from within the Message Broker Java API by using the runScript() method
of the PatternInstanceManager object. In the following example, the Message Broker Java 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");
}