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

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");
}
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:47:54


Task topicTask topic | Version 8.0.0.7 | bc31270_