How to set flowlimit at component level in ActiveMatrix BusinessWorks Container Edition application

How to set flowlimit at component level in ActiveMatrix BusinessWorks Container Edition application

book

Article ID: KB0076017

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks Container Edition 2.5.0+

Description

Prior to ActiveMatrix BusinessWorks Container Edition (BWCE) 2.5.0, user can only set flowlimit in application level using ”BW_APPLICATION_JOB_FLOWLIMIT", which applies to all components. However, user can’t set the flowlimit at component level.

Starting BWCE 2.5.0, user can set  BW_COMPONENT_JOB_FLOWLIMIT  property  to set flow limit at component level for  BWCE applications.
 
  • How users can specify this property? What’s the syntax?

BW_COMPONENT_JOB_FLOWLIMIT is an environment variable and user has to set the environment variable depending on deployment platform (ex: docker, PCF etc), please refer to the BWCE documentation.

BWCE Official Documentation  

 The general syntax of  BW_COMPONENT_JOB_FLOWLIMIT is as follows:

BW_COMPONENT_JOB_FLOWLIMIT=[application version].[componentName]:[value1] (ex: 1.0.ComponentProcess:3)

To specify multiple components, use semi-colon[;] as the separator:
BW_COMPONENT_JOB_FLOWLIMIT=[application version].[componentName1]:[value1];[application version].[componentName2]:[value2];
 
  • How to check the [componentName] and [application version] of my BWCE application?

Please open your application in studio, and follow the below instructions to get the [componentName] and [application version].
[componentName]: Navigate to Application Module -> Module Descriptor -> Components -> Component Settings -> Component Name

User-added image

[application version]: Navigate to Application -> Overview -> Version
To find the [application version] , you need to identify the first two version number from the Version string.  
e.g. if Version string is "1.0.0.qualifier", then [application version] is simply "1.0".
       if Version string is "1.1.0.1", then [application version] is "1.1"

User-added image

Issue/Introduction

How to set flowlimit at component level in ActiveMatrix BusinessWorks Container Edition application