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

Creating a code plug-in project

Create a Java™ and PHP plug-in project to contain pattern instance modification code.

Before you can complete this task, you must have completed the following tasks:
You must create a code plug-in project to contain the Java and PHP pattern instance modification code that you write. You can distribute the Java and PHP code plug-in project in the pattern archive for the associated user-defined pattern to pattern users. See Packaging and distributing pattern plug-ins.

To create a Java and PHP code plug-in project:

  1. Open the Pattern Configuration tab of the Pattern Authoring editor.
  2. Click Add. The Add Java or PHP Code window opens.
  3. Click New Project. The New Pattern Authoring Java and PHP Project window opens.
  4. Enter a plug-in ID for the new code plug-in. After the plug-in is created, the plug-in ID is shown in the Projects section of the Broker Development view. The plug-in ID is also used to identify the plug-in when you distribute it to pattern users.
  5. Optional: If you want to include PHP code in the code plug-in, select Add PHP support to the project. If you select this option a main.php template and example PHP scripts are added to the code plug-in.
  6. Optional: If you want to include a Java class in the code plug-in, complete the following steps:
    1. Select Add an example pattern authoring Java class to the project.
    2. Enter a package name for the Java class in the Package name field.
    3. Enter a class name for the Java class in the Class name field.
  7. Click Finish. The New Pattern Authoring Java and PHP Project window closes.
  8. You can now add Java or PHP code to a user-defined pattern:
Notices | Trademarks | Downloads | Library | Support | Feedback

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

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


Task topicTask topic | Version 8.0.0.7 | bc31020_