WebSphere Message Brokers
File: as19520_
Writer: Lorraine Waitt

Reference topic

This build: July 31, 2007 21:38:33

Sample node files

Windows platform On Windows, the following sample node files are in the WBIMB_install_dir\sample\extensions\nodes directory.

Linux platform On Linux, the following files are in the install_dir/sample/extensions/nodes directory.

UNIX platform On UNIX, the following files are in the install_dir/sample/extensions/nodes directory.

z/OS platform On z/OS, the following files are in the install_dir/sample/extensions/nodes directory.

SwitchNode.c C source file containing a sample implementation of a message processing node that routes a message to one of five output terminals, depending on the content.
SwitchNode.h The header file for the SwitchNode.c file.
TransformNode.c C source file containing a sample implementation of a simple fixed transformation of an input message into an output message.
TransformNode.h The header file for the TransformNode.c file.
BipSampPluginUtil.c Sample utility functions used by the Switch and Transform nodes.
BipSampPluginUtil.h The header file for BipSampPluginNode and BipSampPluginUtil.
NodeFactory.c Common C functions for SwitchNode.c, TransformNode.c, and BipSampPluginUtil.c
NodeFactory.h The header file for NodeFactory.c
Common.c Common C functions for SwitchNode.c, TransformNode.c, and BipSampPluginUtil.c
Common.h The header file for Common.c
PluginSample.add.xml A sample XML input message that you can use to test the C sample nodes.
PluginSample.change.xml A sample XML input message that you can use to test the C sample nodes.
PluginSample.delete.xml A sample XML input message that you can use to test the C sample nodes.
JavaPlugin.add.xml A sample XML input message that you can use to test the Java sample nodes.
JavaPlugin.change.xml A sample XML input message that you can use to test the Java sample nodes.
JavaPlugin.delete.xml A sample XML input message that you can use to test the Java sample nodes.
JavaPlugin.hold.xml A sample XML input message that you can use to test the Java sample nodes.

Windows platform On Windows, the following sample node files are in the WBIMB_install_dir\sample\extensions\nodes directory.

Linux platform On Linux, the following files are in the install_dir/sample/Javaplugin/com/ibm/samples directory.

UNIX platform On UNIX, the following files are in the install_dir/sample/Javaplugin/com/ibm/samples directory.

z/OS platform On z/OS, the following files are in the install_dir/sample/Javaplugin/com/ibm/samples directory.

JavaSwitchPluginNode.java Java source file containing a sample implementation of a message processing node that routes a message to one of five output terminals, depending on the content.
JavaTransformPluginNode.java Java source file containing a sample implementation of a simple fixed transformation of an input message into an output message.

The files that the workbench needs to recognize the Switch node and Transform node are in the install_dir\sample\extensions\nodes\com.ibm.samples.nodes directory. You can add this directory to your workspace using the Update Manager, or you can copy it across to your workspace directory and restart the workbench to see the nodes. The help files (HelpContexts.xml, SwitchNode.htm and TransformNode.htm) demonstrate some features of Eclipse help by adding themselves into the main topic tree, referencing topics in the main tree, and so on.

There are also a number of gif files that are used to represent the sample nodes in the workbench, which you can use, or replace with your own. The gif files come in three different sizes and can be found in individual directories under the sample\extensions\nodes\com.ibm.samples.nodes\icons\full\ directory.

SupportPacs

Many other sample nodes are available as SupportPacs. For a complete list of available SupportPacs see WebSphere MQ SupportPacs Web page.

Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:38:34

as19520_ This topic's URL is: