|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Get attribute in the second messageflow |
« View previous topic :: View next topic » |
Author |
Message
|
crystalstone |
Posted: Sun Sep 01, 2002 11:13 pm Post subject: Get attribute in the second messageflow |
|
|
Newbie
Joined: 01 Sep 2002 Posts: 3
|
Hi MQSI Experts,
I'm brand new to MQSI. I have two messageflow as following:
A: Queue1 --> Compute Node A --> Queue2
B: Queue3 --> Compute Node B
An attribute AccountID coming into Queue1, and there are an application read from Queue2 ,modified the attribute, at last send the attribute to Queue3.
In Compute Node B, I want to get both the original attribute value and the changed attribute value. I cannot change the application.
Can any one help me?
Thanks! |
|
Back to top |
|
 |
lillo |
Posted: Mon Sep 02, 2002 1:01 am Post subject: |
|
|
Master
Joined: 11 Sep 2001 Posts: 224
|
There are different options:
- Store the attribute in a database with the MsgId and retreive the attribute in the second message flow.
- Use Aggregate functionality
I hope this help you.
Cheers, _________________ Lillo
IBM Certified Specialist - WebSphere MQ |
|
Back to top |
|
 |
crystalstone |
Posted: Mon Sep 02, 2002 3:02 am Post subject: |
|
|
Newbie
Joined: 01 Sep 2002 Posts: 3
|
Thank you very much for your help!
But :
a. If I store the msgId with the attribute into database, the msgId must be primary key and must be searchable, and the msgId is BLOB type, it cannot search in DB2. If I convert BLOB to character, there will be abnormal character and DB2 cannot search it too!
b. If use Aggregate functionality, it will be lots of nodes in the message flow, could you give me some advises on how to implement simple message flow ?
Thanks!! |
|
Back to top |
|
 |
lillo |
Posted: Mon Sep 02, 2002 9:53 pm Post subject: |
|
|
Master
Joined: 11 Sep 2001 Posts: 224
|
You could also take a look to the postit plugin node. This node is a support pac.
Cheers, _________________ Lillo
IBM Certified Specialist - WebSphere MQ |
|
Back to top |
|
 |
kwelch |
Posted: Thu Sep 12, 2002 4:36 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
crystalstone,
Why do you think MsgId is not searchable? We have a WMQI process in place where we store MsgId and CorrelId and some other information in a database table and then use another messageflow to search the table using those fields. The only difference is our external table is Oracle. I would think DB2 would be comparable. However, I am no databse expert.
Karen |
|
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
|
|
|
|