In this task you configure a Rendezvous channel with one destination, the DebitTransaction destination, to listen for account debit messages.What are channels and destinations? Messages enter and leave the system through channels. You create destinations within a channel to define the message sources and sinks. Events are created using data in incoming messages, and outgoing messages are created using data from events. Later in the tutorial, you will set up the relationship between the DebitTransaction destination and an event type.Note that in this tutorial outbound messages are simply sent to the console, so there are no outbound destinations.How are channels and destinations created? You create channels and destinations at design-time, as explained below. When you are planning BusinessEvents projects, you would consider the incoming and outgoing messages for your project, and then define the channels, destinations, and the corresponding event types.
1. Select the project (root) folder. In the design panel, right-click and select New Folder. A folder icon appears in the design panel.
2. Click the folder icon to select it, and in the Configuration tab, name the folder Channels. Click Apply.
Apply and Save Clicking Apply saves changes in memory but not on disk. If you want to close the project and open it at a later time, remember to select Project > Save (or click the Save button). You are also prompted to save unsaved work when you select Project > Exit.
3. Open the Channels folder, right-click in the design panel, and select Add Resource > BusinessEvents Workbench > Channel.
4. In the Configuration tab, name the channel RV, and from the Method of Configuration drop-down list, select Properties. Leave the Service, Network, and Daemon fields blank so that default values are used. Click Apply.
Resource names and directory names in the path to a resource can’t be any of the keywords or other words listed in the section Keywords and other Reserved Words in TIBCO BusinessEvents Language Reference, and they can’t use spaces.
5. Double-click the RV channel in the design panel. It opens like a folder so you can add multiple destinations within it.
6. Notice that all irrelevant resources are dimmed. Within a channel, the only type of resource you can add is a Destination resource.
7. Name the destination DebitTransaction.
8. In the Subject field, type BE.DEBIT.TXN. Click Apply. The destination listens for Rendezvous messages with this subject.
9. Click Apply and save the project.Summary and Next StepsNow you have built a channel and a destination within that channel to listen for messages. Later in the tutorial, you will create a ActiveMatrix BusinessWorks process and publish messages that will be picked up by this destination so you can see the project in action.
Copyright © TIBCO Software Inc. All Rights Reserved.