|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
DestinationList/LocalEnvironment Not Work in WMQI 2.1 |
« View previous topic :: View next topic » |
Author |
Message
|
pauillac |
Posted: Tue Apr 02, 2002 7:17 am Post subject: |
|
|
Novice
Joined: 13 Jul 2001 Posts: 21
|
Hi,
The following code works fine in v2.0.2 but does not work in v2.1:
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[1].labelname = 'LabelName';
I added a Trace Node using file trace just after the above Compute Node with
${LocalEnvironment} or ${DestinationList} according to "Working with Messages" and I got an empty trace file.
My colleagues tried the new LocalEnvironment but they failed also. Mind you we have applied both GA CSD and CSD 1.
Since I cannout use DestinationList, is there any way of using RouteToLabel Node? If there isn't, then I will have to use a string of Filter Nodes util the bug is fixed.
Anyone has the same problem? Any way out?
Thanks
|
|
Back to top |
|
 |
pauillac |
Posted: Tue Apr 02, 2002 7:20 am Post subject: |
|
|
Novice
Joined: 13 Jul 2001 Posts: 21
|
Sorry. The code sinppet should be:
SET OutputDestinationList.Destination.RouterList.DestinationData[1].labelname = 'LabelName'; |
|
Back to top |
|
 |
kwelch |
Posted: Tue Apr 02, 2002 7:42 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Pauillic,
I got the following code to work in 2.1:
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[LBLCNTR].labelname = 'COPY1';
Karen |
|
Back to top |
|
 |
kirani |
Posted: Tue Apr 02, 2002 10:05 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
In Advanced Tab of your compute node, you should also specify "LocalEnvironment" in Compute Mode. If you don't specify this, changes made to LocalEnvironment tree in Compute node will not be effective.
|
|
Back to top |
|
 |
Miriam Kaestner |
Posted: Mon Apr 08, 2002 12:21 pm Post subject: |
|
|
Centurion
Joined: 26 Jun 2001 Posts: 103 Location: IBM IT Education Services, Germany
|
More specifically, without setting Compute node/Advanced/Compute mode=LocalEnvironment, you cannot create/modify the OutputLocalEnvironment.
But, you can always update the InputLocalEnvironment, which gets propagated to downstream nodes if no OutputLocalEnvironment exists.
Or, you can modify LocalEnvironment in Filter or Database node. |
|
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
|
|
|
|