This article walks you through creating an IBM WebSphere Process Server 6.0 custom selector component that makes a selection based on the name of a component passed into the selector. The selector selects one of two plain old Java objects (POJO) components, which display text messages in slightly different ways. You then invoke this selector via the Component Test Environment. To follow the steps in this article, you need a IBM WebSphere Integration Developer 6.0 environment installed with an associated Process Server 6.0 test server.
Process Server selectors let you determine dynamically which implementation to invoke at runtime based on a specified set of criteria, which is currently limited to dates. Although the standard selector implementation has the date limitation, with a little knowledge (and a little programming experience) you can create a custom selector that can use more varied selection criteria. In this scenario you use Integration Server to create a module that contains the custom selector and POJO components. You then test the solution using the Process Server server associated with that instance of Integration Server.
|Article in PDF format||0606_dinardo.pdf||443 KB||HTTP|
Francis DiNardo is a Consulting IT Specialist with IBM Software Services for WebSphere and is based out of IBM Research Triangle Park near Raleigh, North Carolina. He specializes in Software Engineering and Application Development using IBM WebSphere middleware products. You can reach Francis at firstname.lastname@example.org.