Author |
Message
|
Blomman |
Posted: Fri Dec 21, 2007 3:57 am Post subject: Problem with DestinationList |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
Hi all!
I have an DestinationList like this:
Code: |
SET OutputLocalEnviroment.Destination.MQDestinationList.DestinationData[1].queueName = 'queue1';
SET OutputLocalEnviroment.Destination.MQDestinationList.DestinationData[2].queueName = 'queue2';
SET OutputLocalEnviroment.Destination.MQDestinationList.DestinationData[3].queueName = 'queue3';
SET OutputLocalEnviroment.Destination.MQDestinationList.DestinationData[4].queueName = 'queue4';
SET OutputLocalEnviroment.Destination.MQDestinationList.DestinationData[5].queueName = 'queue5';
SET OutputLocalEnviroment.Destination.MQDestinationList.DestinationData[6].queueName = 'queue6';
SET OutputLocalEnviroment.Destination.MQDestinationList.DestinationData[7].queueName = 'queue7';
|
The problem is that no message is comin to the last destination i the "list" that would be index7.
Im getting this exception in the message:
Code: |
Root exception for desination list. Unable to put message.
<CauseOfError>qmanager. queue7. 2. 2041.</CauseOfError>
|
I have been checking the queue and all stuff but cant find out whats wrong.
Is there an limitation of how many destinations u can have in an DestinationList??
Best regards!
//Blomman |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 21, 2007 4:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
Look up MQ reason code 2041  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Blomman |
Posted: Fri Dec 21, 2007 5:03 am Post subject: |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
fjb_saper wrote: |
Look up MQ reason code 2041  |
Object Definitation Changed since opened.
Yes i know but if i did an change on the Q and then redeployed the flow should that work? Or Maybe i just need to restart the flow? Or do i have to create a new Q??
//Blomman |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 21, 2007 5:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
Blomman wrote: |
fjb_saper wrote: |
Look up MQ reason code 2041  |
Object Definition Changed since opened.
Yes i know but if i did an change on the Q and then redeployed the flow should that work? Or Maybe i just need to restart the flow? Or do i have to create a new Q??
//Blomman |
Looks like you did an alter with force. Never a good bet.
You need to stop the flow and restart the flow. This will recycle the handle the flow has on the queue...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Blomman |
Posted: Fri Dec 21, 2007 6:18 am Post subject: |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
fjb_saper wrote: |
Blomman wrote: |
fjb_saper wrote: |
Look up MQ reason code 2041  |
Object Definition Changed since opened.
Yes i know but if i did an change on the Q and then redeployed the flow should that work? Or Maybe i just need to restart the flow? Or do i have to create a new Q??
//Blomman |
Looks like you did an alter with force. Never a good bet.
You need to stop the flow and restart the flow. This will recycle the handle the flow has on the queue...  |
Yes i forced that was the only way...
I restarted the flow but that didnt do any difference i had to create a new Q.
//Blomman |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Dec 21, 2007 6:26 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You maybe needed to redeploy the flow. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|