+ All Categories
Home > Documents > TIBCO BusinessWorks Palettes Latest_NoRestriction

TIBCO BusinessWorks Palettes Latest_NoRestriction

Date post: 08-Oct-2015
Category:
Upload: ask-satwaliya
View: 55 times
Download: 2 times
Share this document with a friend
Description:
TIBCO BusinessWorks Palettes
Popular Tags:
86
TIBCO BusinessWorks Tech Mahindra Limited confidential © Tech Mahindra Limited 2009 Palettes
Transcript
  • TIBCO BusinessWorksTIBCO BusinessWorks

    Tech Mahindra Limited confidential Tech Mahindra Limited 2009

    Palettes

  • Objectives At the end of this module, you will be able to,y Identify the problems with respect to an integration scenarioy Given a scenario, determine the palette to usey Design a solution according to the requirement

    2

  • Contents

    Understand different palettes available on the Tibco BW Understand different palettes available on the Tibco BW platter Scenario Study of each palette in discussion Snapshots walkthrough with hands on for the palette in Snapshots walkthrough with hands on for the palette in

    discussion

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 3

  • FILE PALETTEFILE PALETTE

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 4

  • File Palette

    It is used to read, write, delete, or create files. It is used to read, write, delete, or create files. This palette also has a process starter that allows to poll for

    files and start a process based on the presence of a file.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 5

  • File Palette

    Following are the activities in the File Palette :-Following are the activities in the File Palette :Activity Description

    Copy File Allows you to copy files and directories to a new location.

    Create File Creates a new file or directory with the specifiedy pname. When creating a file, you can also provide the file contents.

    File Poller The File Poller process starter polls for files or directories with the givenname and starts a process when the specified change (creation, modification, deletion) is detected.

    List Files Returns information about files or directories, or a listing of all the files in the specified directory.

    Read File Used to read a file and place its contents into the activitys output.

    R Fil R h ifi d fil Thi i i l di i Remove File Removes the specified file. This activity can also remove empty directories. If a directory that is not empty is specified, an exception is thrown.

    Rename File Used to rename or move files. This activity can also rename directories, but you cannot use this activity to move a directory to a new location.

    Wait for File Change activity

    The Wait for File Change activity waits for a file creation, modification,or deletion event to occur during process execution. When this activityis executed, the process instance suspends and waits for the specifiedchange to occur before resuming.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 6

    Write File Writes content to the specified file.

  • File Palette Example - 1

    RequirementRequirementAn application requires the data in upper case whereas the data is in small case. Design a solution using Tibco BW.

    Solution Create a Project in Designer Create a Folder named BusinessProcessCreate a Folder named BusinessProcess Create a Process Definition named ChangeCase Drag the Read File Activity from the Palette to the Design Panel In the Input tab enter the file to read. Drag the Write File Activity from the Palette to the Design Panel In the Input tab enter the file to write. Map the Read File Activity textContent to the Write File Activity

    textContent Use appropriate FunctiontextContent. Use appropriate Function. Test the Project

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 7

  • Create a Project in Designer

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 8

  • Create a Folder named BusinessProcess

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 9

  • Create a Process Definition (ChangeCase)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 10

  • Create the transition

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 11

  • Test the Project

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 12

  • File Palette Example - 2

    RequirementRequirementAn application requires that whenever any changes happens like create, modify, delete to a specific file then the changes need to be logged in log fileneed to be logged in log file

    Solution Create a Folder named BusinessProcessCreate a Folder named BusinessProcess Create a Project in Designer Create a Process Definition named ChangeData Drag the FilePoller from the Palette to the Design Panel In the Input tab enter the file that needs to be monitored. Drag the Write File Activity from the Palette to the Design Panel In the Input tab enter the file to write whenever change happens. Map the FilePoller Activity textContent to the Write File Activity Map the FilePoller Activity textContent to the Write File Activity

    textContent. Test the Project

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 13

  • File Palette Example 2 (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 14

  • Hands On . . .

    1. Write a process, which will be named FileTest, polls a 1. Write a process, which will be named FileTest, polls a directory for a specified file and writes a new file to the same directory each time the file changes. The new files name includes the type of change that occurred to the original file (create, modify, or remove). The new files content is the same as the polled files content, but the time of the change in the file is appended to the end of the fil Th i f h fil h i d h file. The time of the file change is represented as the number of milliseconds since January 1, 1970.

    2. Copy a file from A directory to B directory. Only one file will be present to be copied at one time. Use Copy File Activity from the File Palette

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 15

  • JDBC PALETTEJDBC PALETTE

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 16

  • JDBC Palette

    The JDBC palette contains activities and shared The JDBC palette contains activities and shared configuration resources for querying, updating, or calling stored procedures in a database.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 17

  • JDBC Palette

    Following are the activities in the JDBC Palette :-Following are the activities in the JDBC Palette :Activity Description

    JDBC Call Procedure

    Calls a database procedure using the specified JDBC connection

    JDBC Connection

    It is a Shared Configuration resources which describes a JDBC connection.

    JDBC Get Connection

    It retrieves an object reference to a JavaConnectionAccessor object forthe specified JDBC Connection from the connection pool.

    JDBC Query It performs the specified SQL SELECT statement.

    JDBC Update It performs the specified SQL INSERT, UPDATE, or DELETE statement

    Query Designer

    It is a GUI tool for building SQL queries, testing syntax, and previewing results before running the process Designer results before running the process. Query Designer can be used in one of the following ways:

    to automatically generate SQL queries to manually edit and check the syntax of existing queries

    SQL Direct This activity executes a SQL statement that is provided. This activity SQL Direct This activity executes a SQL statement that is provided. This activity allows to build a SQL statement dynamically (using other activities), then pass the SQL statement into this activitys input. This activity also allows to execute SQL statements that are not supported by other activities in the JDBC palette.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 18

  • JDBC Palette Example - 1

    RequirementqAccess the Database and write the first record to the

    file.

    Solution Create a Project in Designer Create a Folder named SharedResources D ag the JDBC Connection Sha ed Config ation in the Drag the JDBC Connection Shared Configuration in the

    SharedResources folder. Configure the JDBC Connection using the Configuration tab. Create a Folder named BusinessProcess Create a Process Definition named QueryProcess Drag the JDBC Query Activity from the Palette to the Design Panel Configure the JDBC Connection and write the SQL Statement Drag the Write File Activity from the File Paletteg y In the Input tab enter the file to read. Configure the Write File Activity using the Input Tab Map the fields from JDBC Query to Write File Test the Project Test the Project

  • JDBC Palette Example 1 (Snapshot)

  • Hands On . . .

    1. Write a process which executes at a specific time 1. Write a process which executes at a specific time periodically . The process updates the database and writes the number of records updated to a file.

  • Hands On . . .

    2. Write a process which when executed queries the database 2. Write a process which when executed queries the database and writes all the records fetched to a file.

    3. Design a Process which reads a file which has delimiters as comma and populate the same in a table called employee p p p y(EmpNo, EmpName). Use JDBC, File, Parse Data and Data Format Palettes.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 22

  • XML PALETTEXML PALETTE

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 23

  • XML Palette

    The XML Activities palette provides activities for parsing XML The XML Activities palette provides activities for parsing XML strings into schemas and rendering schemas into XML strings.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 24

  • XML Palette

    Following are the activities in the XML Palette :-Following are the activities in the XML Palette :Activity Description

    Parse XML It takes a XML file or an XML string and processes it, turning it into an XML schema tree based on the XSD or DTD specified. h f d f l d l dThe preferred way to parse XML files is to use a Read File activity to read

    the XML file.

    Render XML The Render XML activity takes an instance of an XML schema element and renders (writes) it as a stream of bytes containing XML or an XML string.

    Transform XML

    The Transform XML activity allows you to transform an input XML document into the output specified by the given XSLT File shared configuration resource.

    XSLT File The XSLT File resource allows you to load an XSLT file to use to transform XML schemas using the Transform XML activity.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 25

  • XML Palette Example - 1

    RequirementqAn application requires the data to be parsed from an XML file which contains Price and Quantity and store the Amount in a file.

    Solution Create a Project in Designer

    C t F ld d B i P Create a Folder named BusinessProcess Create a Folder named SharedResources Create or use the data.xml file. Drag the Schema Resource from the XML Tools to the

    SharedResources folder and create the schema structure same as in the data.xml file Create a Process in the BusinessProcess folder which contains the

    File Poller activity as the start activity Drag the Parse XML and Write File Activity and configure them so

    as to calculate the amount. Test the Project.

  • XML Palette Example 1 ( Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 27

  • Hands On . . .

    Write a process which reads a xml file (contains the Write a process which reads a xml file (contains the Currency Name, Exchange Rate, Currency Code and Rate Date) parse it an XML file and display the exchange amount.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 28

  • FTP PALETTEFTP PALETTE

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 29

  • FTP Palette

    The FTP palette is used to issue FTP commands. The FTP palette is used to issue FTP commands.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 30

  • FTP Palette

    Following are the activities in the JDBC Palette :-Following are the activities in the JDBC Palette :Activity Description

    FTP Connection The shared configuration resource describes a connection to an FTP server. FTP connections are used when configuring activities in the FTP palettein the FTP palette.

    FTP Change Default Directory

    Change the current default directory on the remote machine to the specified directory path.

    FTP Delete File It issues an FTP delete or mdelete command to remove one orfil f th tmore files from the remote server.

    FTP DIR It provides a listing of files in the specified directory of the FTP server.

    FTP Get An FTP get or mget command to the specified server. The content of the remote files can be placed in the activitys output or written directly to local storage.

    FTP Get Default Directory

    Retrieves the name of the current remote directory

    FTP Make Remote Directory

    It creates the specified directory on the remote FTP server.

    FTP Put Issues an FTP put or mput command to the specified server.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 31

  • FTP Palette

    Activity DescriptionActivity Description

    FTP Remove Remote Directory

    This activity deletes the specified directory from the remote FTP server.

    FTP Rename File This activity renames the specified file on the remote FTP server.

    FTP Sys Type This activity retrieves the FTP servers operating system type.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 32

  • FTP Palette Example

    RequirementqA file is read and then placed, using FTP Put, on a specified FTP server. After a short pause, FTP Get is issued to get the contents of the file from the server and then write these

    t t t th l l filcontents to another local file.

    Solution Change the FTP connection parameters for your environment Change the FTP connection parameters for your environment Double click on the FTP Connection object in the Project tree Panel

    (top left) to display the FTP connection information in the configuration panel (bottom right) Enter a valid ftp server name in the Host field Enter a valid username for the ftp server in the User Name field Enter a valid password for the ftp server in the Password field Test the ftp connection using the 'test connection' button Test the ftp connection using the test connection button

  • FTP Palette Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 34

  • TCP PALETTETCP PALETTE

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 35

  • TCP Palette

    The TCP/IP palette provides activities and resources that can The TCP/IP palette provides activities and resources that can send and receive data using the TCP/IP protocol. This palette is intended for use when communicating with

    TCP/IP and there is no corresponding TIBCO ActiveMatrix TCP/IP and there is no corresponding TIBCO ActiveMatrix BusinessWorks palette for the protocol. y For example:- A custom application that communicates with

    other applications by way of TCP/IP then TCP/IP palette can be used to handle incoming and outgoing data from this application.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 36

  • TCP Palette

    The general sequence of events when using the TCP/IP The general sequence of events when using the TCP/IP palette resources is the following:

    Create a TCP Connection shared configuration resource that describes the connection information.

    One of the following occurs depending upon whether the process definition is a TCP/IP client or server:

    When a process definition acts as a TCP/IP client communicating with a TCP/IP server a connection must be opened using the TCP with a TCP/IP server, a connection must be opened using the TCP Open Connection activity. When a process definition acts as a TCP/IP server waiting for

    incoming TCP/IP requests, the process either starts with a TCP h f C hReceiver process starter or has a Wait for TCP Request activity that

    waits for an incoming connection request. In the process definition the Read TCP Data and Write TCP Data

    activities are used to read and write data to the TCP connection. Once all processing is complete, the TCP Close Connection activity

    is used to close the TCP connection.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 37

  • TCP Palette

    Following are the activities in the JDBC Palette :-Following are the activities in the JDBC Palette :Activity Description

    Read TCP Data The Read TCP Data activity reads data from an open TCP connection.

    TCP Close Connection

    It closes a TCP connection opened by a previously executed activity or process starter

    TCP Connection It is a shared configuration resource that specifies the connectioninformation for the TCP server This resource is used when ainformation for the TCP server. This resource is used when aprocess definition acts as a TCP client connecting to a remoteserver or when a process definition acts as a TCP serveraccepting incoming TCP connections.

    TCP O O ti t TCP TCP Open Connection

    Opens a connection to a TCP server.

    TCP Receiver The process starter starts a new process when a client requests a TCP connection.

    Wait for TCP Request

    It waits for a TCP client connection request.

    Write TCP Data The activity sends data on the specified TCP connection. The connection must be opened by an activity or process starter that

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 38

    connection must be opened by an activity or process starter that executed previously in the process definition

  • TCP Palette Example

    RequirementRequirementAn application want to communicate with other application using TCP/IP only. The Server is placed on Machine A which waits for the request and the Client is placed on Machine B waits for the request and the Client is placed on Machine B which request the data, on request of the Client the Server sends the data which is written on the Clients machine and vice-versa.

    Solution Create a Project TCPServer on Machine A j And, TCPClient Project on Machine B The TCP Connection in both the Projects should have same IP and

    port so that the communication channel is same.Th TCPCli t TCP O C ti h ld i t t th IP The TCPClients TCP Open Connection should point to the IP Address of that of the Server.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 39

  • TCP Palette Example (Snapshot)

    TCP ServerTCP Server

    TCP Client

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 40

  • JAVA PALETTEJAVA PALETTE

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 41

  • Java Palette Example - 1

    RequirementRequirementThe Start Activity receives the price and the quantity from the user and generates the amount as the output using Java Code Activity from the Java Palette.

    Solution Create a Project named JavaDemoj Create a folder named BusinessProcess Drag the Process Definition to the BusinessProcess folder Drag the Java Code Activity from the Java Palette

    C f h C d Configure the Java Code Activity Test the Project.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 42

  • Java Palette Example - 1 (Snapshots)

    Step 1Step 1 Create a Process

    Step 2 Configure the Start activity Configure the Start activity

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 43

  • Java Palette Example - 1 (Snapshots)

    Step 3Step 3 Configure the Java Code Activity

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 44

  • Java Palette Example - 1 (Snapshots)

    Step 3Step 3Write the Java code and compile.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 45

  • Java Palette Example - 1 (Snapshots)

    Step 4 Step 4 y Configure the Java Code Activity with the parameters that are

    received from the Start Activity.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 46

  • Java Palette Example - 1 (Snapshots)

    Final Step 5 Final Step 5 Test the Project by setting the breakpoints

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 47

  • HTTP PALETTEHTTP PALETTE

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 48

  • HTTP Palette

    The HTTP palette allows you to send and receive HTTP The HTTP palette allows you to send and receive HTTP requests.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 49

  • HTTP Palette

    Following are the activities in the HTTP Palette :-Following are the activities in the HTTP Palette :Activity Description

    HTTP Connection The shared resource describes the characteristics of the connection used to receive incoming HTTP requests.

    HTTP Receiver Starts a process based on the receipt of a HTTP request.

    Proxy Configuration This shared resource is used to specify a proxy HTTP serverwhen HTTP requests are sent outside of a firewall.

    Send HTTP Request This activity sends a HTTP request to a web server.

    Send HTTP Response Sends a response to a previously received HTTP request.

    Wait for HTTP Request Waits for an incoming HTTP request in a process definition. The process instance suspends until the incoming HTTP request is process instance suspends until the incoming HTTP request is received.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 50

  • HTTP Palette Hands On

    RequirementRequirementy Using HTPP palette send the principle, rate and no of years as

    parameter and return the calculate the amount on a web page.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 51

  • JMS PALETTEJMS PALETTE

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 52

  • JMS

    Java Message Service (JMS) is a specification for how Java Message Service (JMS) is a specification for how messages are sent and received between applications in a Java environment. The JMS palette is used to send and receive JMS messages The JMS palette is used to send and receive JMS messages

    in a process definition. Both the JMS point-to-point (queues) and publish/subscribe (topics) models are supported.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 53

  • JMS Palette

    Following are the activities in the JMS Palette :-Following are the activities in the JMS Palette :Activity Description

    Get JMS Queue Message

    The Get JMS Queue Message activity retrieves a message from the specified queue

    JMS Connection It is a Shared resource that describes a JMS connection. This resource is used when specifying activities on the JMS palette.

    JMS Queue Receiver Starts a process based on the receipt of a message for thespecified JMS queue.p q

    JMS Queue Requestor

    This activity is used to send a request to a JMS queue name and receive a response back from the JMS client.

    JMS Queue Sender This activity sends a message to the specified JMS queue.

    S bl h d h f d SJMS Topic Publisher It sends a message to the specified JMS topic.

    JMS Topic Requestor This activity is used to communicate with a JMS applications request-response service. This service invokes an operation with input and output The request is sent to a JMS topic and the JMS input and output. The request is sent to a JMS topic and the JMS application returns the response to the request.

    JMS Topic Subscriber

    Starts a process based on the receipt of a message for the specified JMS topic.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 54

    Reply To JMS Message

    This activity sends a reply to a previously received JMS queue or topic message.

  • JMS Palette

    Activity DescriptionActivity Description

    Wait for JMS Queue Message

    It waits for the receipt of a message for the specified JMS queue. Configuration

    Wait for JMS Topic Message

    It waits for the receipt of a message for the specified JMS topic. ConfigurationMessage Configuration

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 55

  • JMS Palette Example - 1

    RequirementRequirementy A JMS Queue send a request to a JMS Queue Receiver.

    Solution Solution Create a Project named JMSDemo Create a folder named SharedConfiguration Drag the JMS Connection and Test the connection.g Create a folder named BusinessProcess Create Two Processes one for sending the JMS Queue Request and one

    for receiving the JMS Queue ReceiverU i t ti iti i th JMS Q R i Use appropriate activities in the JMS Queue Receiver. Test the Project

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 56

  • JMS Palette ( Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 57

  • JMS Palette Hands on . . .

    RequirementRequirement

    JMS Message Selector

    The process QueueMessageSelector illustrates sending 5 Queue messages and selecting one from those 5 messages using selectors This process definition executes as follows: using selectors. This process definition executes as follows:

    The JMS Queue Sender activity sends 5 messages in a loop. It also sets the index of the loop to an application property called myselector. The Get JMS Queue Message activity uses the message selector

    "myselector='3'" to pick the third message.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 58

  • JMS Palette Hands on . . .

    RequirementRequirement

    JMS Topic Durable Subscriber

    The process TopicPublisher.process illustrates sending a Topic message. This process definition executes as follows:

    Th JMS T i P bli h ti it d T i The JMS Topic Publisher activity sends a Topic message The process DurableTopicSubscriber illustrates sending a durable

    topic message. This process definition executes as follows: The JMS Topic Subscriber subscribes to a topic topic.sample. p p p p

    Additionally, this is configured as Durable. If the Subscriber is not online, the messages will be stored by the JMS Server and delivered when the Subscriber comes online.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 59

  • RENDEZVOUS PALETTERENDEZVOUS PALETTE

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 60

  • Rendezvous

    Rendezvous is the messaging subsystem that TIBCO Rendezvous is the messaging subsystem that TIBCO provides. It makes it easy to created distributed application that

    exchange across a network.exchange across a network. Rendezvous software supports many hardware and software

    platforms, so programs running on many different kinds of computers on a network can communicate seamlessly.co pu e s o a e o ca co u ca e sea ess y The Rendezvous daemon runs on each participating

    computer on your network. All information that travels between program processes passes through the Rendezvous p g p p gdaemon as the information enters and exits host computers. Rendezvous programs are programs that use Rendezvous

    software to communicate over a network. A Rendezvous distributed application system is a set of

    Rendezvous programs that cooperate to fulfill a mission.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 61

  • Rendezvous Palette

    Following are the activities in the Rendezvous Palette :-Following are the activities in the Rendezvous Palette :Activity Description

    Rendezvous Subscriber

    A process starter that creates a process when a TIBCO Rendezvous message on the given subject is received. Subscriber Rendezvous message on the given subject is received.

    Publish Rendezvous Message

    This activity publishes a TIBCO Rendezvous message on the given subject with the given message content.

    Rendezvous Transport

    A Shared resource that describes a TIBCO Rendezvous transport.This resource is used when specifying activities from theTransport This resource is used when specifying activities from theRendezvous palette.

    Reply to Rendezvous Request

    This activity is used to send a reply to a received TIBCO Rendezvous message.

    S d R d Thi ti it bli h TIBCO R d th Send Rendezvous Request

    This activity publishes a TIBCO Rendezvous message on the given subject with the given message content, and it expects a reply to the message on the given reply subject and with the given reply message content. This activity waits for a reply on the reply subject and outputs the content of the reply.p y j p p y

    Wait for Rendezvous Message

    This activity waits to receive a TIBCO Rendezvous message with the given subject.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 62

  • Rendezvous Example

    Design a RV Publisher process which send the Unit Price and Design a RV Publisher process which send the Unit Price and Quantity as a RV message. Also, design a RV Subscriber Process which waits for the RV

    message from the RV Publisher and once receive calculates message from the RV Publisher and once receive calculates the Amount and writes into a file.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 63

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 64

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 65

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 66

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 67

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 68

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 69

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 70

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 71

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 72

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 73

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 74

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 75

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 76

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 77

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 78

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 79

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 80

  • Rendezvous Example (Snapshot)

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 81

  • MAIL PALETTEMAIL PALETTE

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 82

  • Mail Palette

    The Mail palette is used to receive incoming email or send The Mail palette is used to receive incoming email or send outgoing email.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 83

  • Mail Palette

    Following are the activities in the Mail Palette :-Following are the activities in the Mail Palette :Activity Description

    Send Mail This activity sends an email by way of a SMTP server.

    Receive Mail A process starter activity polls POP3 mail server for new mail. When new mail is detected and retrieved, the Receive Mail process starter starts a new process for the process definition it resides in and passes the mail data to the next activity in the process flowprocess flow.

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 84

  • Mail Palette Example

    RequirementRequirementy Send a mail to the localhost server.

    Snapshot Snapshot

    9/5/2010 CONFIDENTIAL Copyright 2008 Tech Mahindra Limited 85

  • Thank You

    CONFIDENTIAL Copyright 2008 Tech Mahindra Limited


Recommended