Sunday, October 13, 2013

LibraryBuilder: How to build and Import a Library file (.projlib) in TIBCO BW

Note: For Project Library (.projlib) uses and advantages Click Here.

How to build a Library file:

1. Drag and drop LibraryBuilder resource from palettes pane into design pane.
2. Select Resources tab and add resources by clicking binocular symbol located on the right side.
3. After selected all the files to include in library and then click on Build Library button located at below as shown in below screenshot 2.

How to Import a Library file:

1. Open BW project
2. click on the root folder (this reflects your bw projet name)
3.In the config pane you will see the following tabs configuration, project settings, Design Time libraries.
4. click on design time libraries.
5. click on + sign and apply.
                                                        1.Import a .Projlib

2. Building .projlib


Thursday, October 10, 2013

Project Library (.projlib) use and advantage in TIBCO BW

Note:To know how to build and Import a Library file (.projlib) Click here.

Project Library Usage:

Project Library is very useful when the common functionalities are shared across the project.  All the common processes or functionalities are grouped together to make the separate common BW project for .projlib usage.

we can reuse process developed by other teams if we build those processes as library file and then by importing into BW project in Tibco designer. This is a perfect approach when number of development teams working together on the same project.

Once we build the library file, We can only export and import into our development projects to make use of it but we can’t modify inner logic of the processes. Team who have build the library file can only edit or modify the processes inside of the library file and rebuild.

The imported processes of the Library builder looks in gray as you can see in the image below.

Advantage of .projlib: 

1. Reusable common process - Existing tested functionality will minimize the development effort.
2. Uniformity of the Common process & functions are used across all projects.


Sunday, October 6, 2013

What is the use of Sequencing Key in TIBCO BW and How to configure it ?

About Sequencing Key:
  • The sequencing Key allows BW to read more than one message at the same time but keep the order for messages which have the same Key.
  • Process instances can have sequencing keys that evaluate to different values, but only process instances with the same value for the sequencing key are executed sequentially. 
  • Process instances with different sequencing key values can be executed concurrently.
  • Example:
Imagine the following messages in your queue:
message1 / key: client1
message2 / key: client2
message3 / key: client1
message4 / key: client1 

With three session configured (i.e. Max Job = 3), BW will pull the first three messages (message 1 to 3).
The message 1 and 2 will be execute concurrently while the message 3 will wait the end of the session of the message 1 (they have the same key). In other term, until you confirm the message 1 (or loose its session), the message 3 is in a wait status.

How to set Sequencing Key in TIBCO BW:

Sequencing Key can be specified on the “misc” tab of a process starter. For example, in below screenshot, a file poller activity is specified to sequence files based on their extensions (i.e. all ‘.txt’ will be processed sequentially; all ‘.pdf’ will be sequential etc.)


Popular Posts

  © Blogger templates The Professional Template by 2008

Back to TOP