Usage of Custom Functions feature in TIBCO BusinessEvents 4.0

Usage of Custom Functions feature in TIBCO BusinessEvents 4.0

book

Article ID: KB0089551

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:

============

Need a use case on how to implement Custom Functions feature in TIBCO BusinessEvents (BE) release 4.0.x


Environment:

==========

   o TIBCO BusinessEvents release 4.0.x

   o All OS



Resolution:

=========

See the attachments for a test case, which shows you the usage of this feature.

We request you to go through this and use it for your reference, if you like to do some modifications or custom implementations, then please feel free to do so.

Steps to follow :
---------------

1. Once you import these projects (choose import - > existing projects to workspace), make sure the build path refers to the libraries in your system (currently it is configured to my test machine).

2. Once you build the jar file, you need to mention it in the studio.tra file  ( &ltTIBCO_HOME\be\4.0\studio\eclipse\configuration\studio.tra file). Add a setting (studio.extended.classpath= &ltTIBCO_HOME>/be/4.0/studio/eclipse/thirdparty), and place the jar file in that directory.

3. You can test the BE 4.0 project using the debugger. If you have problems in sending a test data please let me know and I can send you a simple TIBCO BusinessWorks (BW)  project to do the same.



Attachments:

==========

Attachment 1 :  testcustomFunctions.zip - An eclipse based Java project with which you can complie the custom function. Once you compile the class file bundle it with the attached functions.catalog.

Attachment 2: functions.catalog (the catalog where you can declare the exported functions and its tooltip).

Attachment 3: buildjar.bat - to build a jar on this compiled class file and the functions.catalog file.

Attachment 4: testMapMessage.zip - A BE 4.0 based project which implements this custom function.



References:

==========

TIBCO BusinessEvents Online reference manual (in HTML, usually located in &ltTIBCO_HOME>\doc\standard\html\tib_be_online_reference\index.htm

Issue/Introduction

Usage of Custom Functions feature in TIBCO BusinessEvents 4.0

Attachments

Usage of Custom Functions feature in TIBCO BusinessEvents 4.0 get_app