How to get EngineName of a TIBCO BusinessEvents engine from a Custom Java function.

How to get EngineName of a TIBCO BusinessEvents engine from a Custom Java function.

book

Article ID: KB0091538

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
The customer is creating a custom Java framework for logging and they need to access the EngineName only from their custom Java code (not using the standard functions).  What will they need to do in order to access the EngineName directly in their Java code for their custom log function?

Environment:
============
TIBCO BusinessEvents 4.0.1

Resolution:
===========
Besides the BE standard function, you may also get engineName by TIBCO Hawk Microagent Methods getHostInformation() or by getting the value of property be.engine.name .

Issue/Introduction

How to get EngineName of a TIBCO BusinessEvents engine from a Custom Java function.