Author |
Message
|
Jonasli |
Posted: Tue Mar 23, 2004 7:29 pm Post subject: question:: are there some mechanisms in WBIMB to share.... |
|
|
Apprentice
Joined: 24 Apr 2003 Posts: 34 Location: Beijing
|
hei, all masters,
i do not know whether there are some mechanisms in the WBIMB to share some common storage or memory to use in total runtime environment since WBIMB broker started, for examples, i want to maintain some shared memory or other storage to share information in my application running in MB.
But i can not find it now, just knew such seem mechanism in the total life of one message. of course, i can use Database to implement it, but without good performance and too complex for some case.
any advices and help are appreciabled, thanks very much. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Mar 23, 2004 8:22 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Put any needed state into your messages.
Or look carefully at the support packs. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Jonasli |
Posted: Tue Mar 23, 2004 9:20 pm Post subject: |
|
|
Apprentice
Joined: 24 Apr 2003 Posts: 34 Location: Beijing
|
jefflowrey,
thanks for ur advice.
but as u knew, the message dealed within MB uaually is about the business data, and it's unpossiable to some runtime information inputed with along message,
Quote: |
look carefully at the support packs |
?
do u know some suggestted support packs?
anyaway, thank ur repley. |
|
Back to top |
|
 |
kirani |
Posted: Tue Mar 23, 2004 10:01 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
There were two suppotpacs, IA79 and IA0H, but they are now withdrawn.
Another option weuld be to store your data on queue and use MQGET plug-in node to retrieve info into subsequent messages. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
Jonasli |
Posted: Tue Mar 23, 2004 10:45 pm Post subject: |
|
|
Apprentice
Joined: 24 Apr 2003 Posts: 34 Location: Beijing
|
Kirani,
thank your reply, i think i can have a reference to those supportpacs for some ideas.
and we ever think the method to store message in queue, but we think seem the store information into db, maybe without good perforance. for example, we just want to load some static informaiton before application system running, and the message of business will can use this static,
but now, we have to query database or queue for every times dealing to message.
ei, why not maintain a golbal tree in MB seem as the other four tree? ^_^ |
|
Back to top |
|
 |
kirani |
Posted: Tue Mar 23, 2004 11:30 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
If it's just a matter of reading some static data then you can use DB select function. Database select is very fast and I don't think that will have any performance overhead. Alternatively, you can think of writing a plug-in node (or use one of the SupportPac) which reads Environment variables and loads data into Environment tree. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
Jonasli |
Posted: Wed Mar 24, 2004 12:12 am Post subject: |
|
|
Apprentice
Joined: 24 Apr 2003 Posts: 34 Location: Beijing
|
thanks,
maybe your ideas are the best ways now,
thanks again. |
|
Back to top |
|
 |
JT |
Posted: Wed Mar 24, 2004 6:48 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
|
Back to top |
|
 |
Jonasli |
Posted: Wed Mar 24, 2004 5:27 pm Post subject: |
|
|
Apprentice
Joined: 24 Apr 2003 Posts: 34 Location: Beijing
|
thank lots,
i have got and try it now,
Nice day. |
|
Back to top |
|
 |
|