Posted: Thu May 30, 2002 10:37 am Post subject: Destination list error - in Routing message
Novice
Joined: 24 Jan 2002 Posts: 22
i am trying to route a received message to its destination based on one of the properties in the XML.
if id is 1, message should go on to Q1 and if it is 2, it should go to Q2.
This is my esql :
IF (InputRoot.XML.id = 1) THEN
SET OutputDestinationList.Destination.MQDestinationList.DestinationData[1].queueName = 'Q1';
ELSE
IF (InputRoot.XML.id = 2) THEN
SET OutputDestinationList.Destination.MQDestinationList.DestinationData[1].queueName = 'Q2';
END IF;
END IF;
but i get the error - " Expected a distribution list but one did not exist"
In the advance tab, I set set the Compute Mode to All.
And on output node, in the advance tab, I destination Mode to 'destination list'.
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