|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Global Properties file for WBIMB? |
« View previous topic :: View next topic » |
Author |
Message
|
qcf |
Posted: Sun Sep 04, 2005 11:38 pm Post subject: Global Properties file for WBIMB? |
|
|
 Novice
Joined: 25 Jul 2005 Posts: 10 Location: Australia
|
I need to set a list of variables for Broker wide, such that all components within the broker can evaluate the variables value.
For instance: I wanted to set the Logging level to 1, which indicates log start and end of a message flow execution. I plan to use the Trace node to write the log, but before writing the trace, it will have to consult the level of logging required.
I was thinking along the line of 'properties file' in Java world. Do we have similar features for WBI MB? Anybody can help?
Thank you in advance. |
|
Back to top |
|
 |
lillo |
Posted: Mon Sep 05, 2005 12:13 am Post subject: |
|
|
Master
Joined: 11 Sep 2001 Posts: 224
|
We had a similar problem tracing the messages. We implemented a java node with a properties file (which is read in the constructor) and to trace the messages we used Log4J.
To put those variables in the broker you could also built a java node and use the setProperty to set the JVM properties from your file. You should use the node in all your EG to set the variables. To read the variables you could use the supportpac plugin node IA06. _________________ Lillo
IBM Certified Specialist - WebSphere MQ |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Sep 05, 2005 7:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The only thing "built-in" to the product to solve this need is database connectivity - that is, you can store your properties in a database table and read them that way.
There are other options available, including the use of a Java custom node or a Java procedure, or a support pack. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|