This topic contains the rules to follow when defining keywords. Keywords and their values are displayed in the properties view of a deployed object.
A number of objects in WebSphere Event Broker can have additional information added to the object. This information can display information about an object after the object has been deployed. The default information that is displayed is the time the object was deployed and the last time the object was modified.
You can define custom keywords and their values that the Configuration Manager will interpret as additional information to be displayed in the properties view. For example, you can define keywords for "Author" and "Subflow 1 Version":
$MQSI Author=John Smith MQSI$ $MQSI Subflow 1 Version=v1.3.2 MQSI$
The information the Configuration Manager shows is:
Object name | |
Deployment Time | 28-Aug-2004 15:04 |
Modification Time | 28-Aug-2004 14:27 |
Version | v1.0 |
Author | John Smith |
Subflow 1 Version | v1.3.2 |
In this display the version information has also been defined using the Version property of the object. If the version information had not been defined using the property, it would be omitted from this display.
The syntax for defining a keyword and its associated value is:
$MQSI KeywordName = KeywordValue MQSI$
Where:
Example definitions | Interpreted keyword and value | Comments |
---|---|---|
$MQSIAuthor=JohnMQSI$ or |
Keyword = "Author" |
Each of these is a basic example of what can be set and shows that the leading and trailing white space characters for the name and value parameters is ignored. |
$MQSI_Author = John MQSI$ | Keyword = "Author" |
The first character after $MQSI can be an underscore character. The underscore character is omitted in the interpreted keyword. If a second underscore character appears, this will form part of the keyword name. |
$MQSI Flow designer = John Smith MQSI$ | Keyword = "Flow designer" |
White space characters are accepted for each parameter value. |
$MQSI bar = MQSI$ | Keyword = "bar" |
The keyword value can be set to an empty ("") string. |
$MQSI_mqsitag=$MQSI$MQSI$ | Keyword = "mqsitag" |
This is a poorly formatted definition. After defining the keyword name the parser is looking to find the delimiters that form the boundary of the value to be set. In this case the only character prior to the MQSI$ that closes the definition is a '$' and that is set as the keyword value. |
$MQSI=barMQSI$ | This pattern is ignored because the keyword name cannot be an empty string. | |
$MQSItagbarMQSI$ | This pattern is ignored because there is not a separator (=) between the keyword name and the keyword value. |
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ac35480_ |