Integration Server 11.1 | Publish-Subscribe Developer’s Guide | Working with IBM webMethods Messaging Triggers | Creating IBM webMethods Messaging Trigger
 
Creating IBM webMethods Messaging Trigger
 
Creating Conditions
Using Filters with a Subscription
Creating Filters for Use with Universal Messaging
Creating Filters for Use with IBM webMethods Broker
Using Multiple Conditions in IBM webMethods Messaging Trigger
When you create IBM webMethods messaging trigger, keep the following points in mind:
*The publishable document types and services that you want to use in conditions must already existIBM webMethods messaging trigger.
*IBM webMethods messaging trigger can subscribe to publishable document types only. IBM webMethods messaging trigger cannot subscribe to ordinary IS document types.
*IBM webMethods messaging trigger must meet the requirements specified in IBM webMethods Messaging Trigger Requirements.
Important:
When you create IBM webMethods messaging triggers, work on a stand-alone Integration Server instead of an Integration Server in a cluster or non-clustered group. Creating, modifying, disabling, and enabling IBM webMethods messaging triggers on an Integration Server in a cluster or non-clustered group can create inconsistencies in the object that corresponds to the trigger on the messaging provider.
*To create IBM webMethods messaging trigger
1. In the Package Navigator view of Designer, click File > New > IBM webMethods Messaging Trigger.
2. In the Create a New IBM webMethods Messaging Trigger dialog box, select the folder in which you want to save the IBM webMethods messaging trigger.
3. In the Element Name field, type a name for the IBM webMethods messaging trigger using any combination of letters, and/or the underscore character.
For information about restricted characters, see the IBM webMethods Service Development Help.
4. Click Finish.
Designer generates the new IBM webMethods messaging trigger and displays it in the Designer window.
5. Under Condition detail, build a condition to specify the document types to which the IBM webMethods messaging trigger subscribes and the trigger services that execute when instances of those document types are received. For more information about creating conditions, see Creating Conditions.
6. In the Properties view, set properties for the IBM webMethods messaging trigger.
7. Click File > Save.
Notes:
*Integration Server validates the IBM webMethods messaging trigger before saving it. If Integration Server determines that the IBM webMethods messaging trigger is invalid, Designer prompts you to save the IBM webMethods messaging trigger in a disabled state. For more information about valid IBM webMethods messaging trigger, see IBM webMethods Messaging Trigger Requirements.
*You can also use the pub.trigger:createTrigger service to create IBM webMethods messaging trigger. For more information about this service, see the IBM webMethods Integration Server Built-In Services Reference.