|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem using IA91 |
« View previous topic :: View next topic » |
Author |
Message
|
NewMB |
Posted: Wed Mar 09, 2005 9:53 am Post subject: Problem using IA91 |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
I deployed IA91 Broker Domain Data Store Support pac to my toolkit and Message Broker engine (Windows XP and 2003 Server).
1. I am using a compute node to add value to the environment
SET Environment.Variables.go[1].key = 'AAA';
SET Environment.Variables.go[1].data = 'BBB';
2. A CachePut node is right after the compute node and location of key and data are specified as:
Key = Environment.Variables.go.key
Data = Environment.Variables.go.data.
3. The message is sent to a queue (MQOutput).
Now, when I try to get the cache data from the other flow, I receive nothing.
Here is the flow design for retrieving cache data.
1. A MQInput node to start the flow.
2. A CacheGet node and location of key and data are specified as the
CachePut node.
3. A MQOutput node.
The message generated out from the retrieve flow doesn't have the cache data and I couldn't find anything available info from IBM that can help me to debug. Does anyone successfully implement a flow using CacheGet and CachePut node? If so, would you be able to explain how your flow put and get Cache data? |
|
Back to top |
|
 |
EddieA |
Posted: Wed Mar 09, 2005 12:17 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
I guess that you're using the latest version, because the earlier one didn't support the Environment trees.
There is a time-out for the Cache. What do you have it set to, and are you trying to Get the data within that time.
What are you setting, in EQSL, before the Cache Get.
I haven't tried changed my code to use the Environment, but it works great using the "data" tree.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
NewMB |
Posted: Wed Mar 09, 2005 12:30 pm Post subject: |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
EddieA,
I think it is the latest version because I checked the modified date of the zip file and it indicates it was updated in the earlier of this year.
I set "Life of data (millionsecond)" to 60000000. I did change to use the data tree "Root.XML.Main.body.Topic" and "Root.XML.Main.body.Name.FirstName", as the key and data. When I ran the flow in debug mode, I saw the message passed through the CachePut node and I am not sure it did cache the data. I also ran another flow (differene one) to try to retrieve the data but nothing shown. Do I need to specify anything using compute node prior or after CachePut or CacheGet node?
Thanks |
|
Back to top |
|
 |
JT |
Posted: Wed Mar 09, 2005 12:37 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
What's the 'scope of the cache', broker domain or execution group?
Are you sure the key to retrieve the cache is the same value as the key used to store it? |
|
Back to top |
|
 |
NewMB |
Posted: Wed Mar 09, 2005 12:45 pm Post subject: |
|
|
Apprentice
Joined: 05 Jan 2005 Posts: 42
|
JT,
The scope fo the cache is "execution group" on both CacheGet and CachePut nodes.
I think i got the problem fixed. There was a typo on my CacheGet "Location of Key".
Thank you both of you very very much.  |
|
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
|
|
|
|