You are on page 1of 18

In this tutorial, we will be working with different activities in Tibco Rendezvous to achieve Reliable and Certified Messaging.

Tibco Reliable Messaging: To achieve Tibco Reliable Messaging, we should have a transport object first, which is a shared configuration resource, can be used by different activities to publish/subscribe and request/reply Let us start with a publish/subscribe scenario. Create a folder called connections, in it drag & drop a Rendezvous Transportation.

Create two different folders; name it as publisher and subscriber correspondingly.

Ravi Kumar

Under Publisher folder, create a process definition; name it as publisher, then drag & drop publish rendezvous activity from rendezvous palette.

Now come to the configuration of Publish Rendezvous Activity. Give a meaningful subject name, (NDTV.SPORTS.CRICKET) Select the created transport from browse resources. Go to Input Editor, select the schema

Ravi Kumar

Go to Input tab, and give the values for the defined schema.

Ravi Kumar

Save the project And now open the subscriber folder, and create a process definition, name it as subscriber. Drag & Drop Rendezvous subscriber, it is a process starter, so start will automatically go off. Now, we will see the configuration of Rendezvous Subscriber. Give the same subject name, what we have given in publisher (NDTV.SPORTS.CRICKET) Select the transport from browse resource.

Ravi Kumar

Go to the output editor, and create the same schema, as we did in the publisher side.

Ravi Kumar

Save the project and run it.

Ravi Kumar

Select both the publisher and subscriber to run, click load selected.

Ravi Kumar

Now click on publisher and select create the job button. Publisher will publish the message, and subscriber will receive it.

Ravi Kumar

So, this is the way a publisher and subscriber scenario works, you can try with wildcard characters and also some file activities or some other.

Now, we will see how a request- reply scenario works. 9

Ravi Kumar

Again Create two folders, name it as Request and Reply, and create a process definition in each folder and name it as request and reply accordingly.

Go to Request Processor, drag & drop send rendezvous request and create the transitions. Now, we will see the configuration of this activity. Give an appropriate and meaningful name (atm.client.balance) Select the transport from browse resources. Under input editor, create a schema like so,

10

Ravi Kumar

Go to input tab, give the values. And mention the reply subject as "client.atm.reply"

11

Ravi Kumar

Now go to the output editor, and create a schema like so, and save the project.

12

Ravi Kumar

Now go to reply process, drag & drop RV subscriber and Send RV Request activities, and create the transition like below screen shot.

13

Ravi Kumar

Now, we will see the configuration of Rendezvous Subscriber and Reply to Rendezvous Request. Configure Rendezvous Subscriber like before.

14

Ravi Kumar

Now, come to Reply to Rendezvous Subscriber. Under configuration, select reply for field, and select the Rendezvous Subscriber Go to Input Editor, and create the schema like so ATM CardNumber PinNumber Balance

15

Ravi Kumar

Go to input tab, and map the card number, pin number from rendezvous subscriber, give some hard coded value for balance.

16

Ravi Kumar

Now run the process like before, select the create job by selecting request first then the reply automatically comes.

17

Ravi Kumar

18

Ravi Kumar

You might also like