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
Testing a user-defined pattern
Ensure that you test your user-defined pattern before you share it with your pattern users.
Before you start:
Complete the following tasks:Before you distribute your user-defined pattern, you can
test it to ensure that it works correctly. To test your user-defined
pattern, the Pattern Authoring editor opens a temporary workspace
in which you can generate an instance of your user-defined pattern.
You can then check that your user-defined pattern works correctly.
If your user-defined pattern contains Java™ pattern
authoring API code, see Testing Java code. If your
user-defined pattern contains PHP pattern authoring API code, see Testing PHP API code.
To test your user-defined pattern:
- In the Pattern Authoring editor, click the Create Pattern tab.
- Click Test Pattern. The Workspace Launcher window opens.
- Select the temporary workspace in which to generate an instance of your user-defined pattern. Click Browse. Select a workspace or enter a workspace in the Workspace field. Click OK. The selected workspace opens.
- Click the Patterns Explorer tab in the Broker Development view. Your new user-defined pattern is shown in the Patterns Explorer view.
- Test your pattern by generating a new pattern instance. See Using patterns.
- If you want to change your pattern, change the pattern authoring project and then rebuild the pattern plug-ins. If you are changing only Java or PHP pattern authoring API code, you do not have to rebuild the pattern plug-ins; see Testing Java code and Testing PHP API code.
Next:
After you have tested the pattern, you can share it with the pattern users, see Packaging and distributing pattern plug-ins.