Author |
Message
|
Sridar |
Posted: Sun Aug 27, 2006 9:18 pm Post subject: MQOutput Properties |
|
|
Acolyte
Joined: 14 May 2006 Posts: 72 Location: Chennai, India
|
Hi
Can is set the Properties of an MQOutput Node from a Compute Node which is preceding it in the Message Flow.
I wan to set the Properties(like Transaction) based on some criterions in the message
MqInput --> Compute --> MQOutput _________________ Thanks and Regards
Sridar |
|
Back to top |
|
 |
elvis_gn |
Posted: Sun Aug 27, 2006 9:56 pm Post subject: Re: MQOutput Properties |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi Sridar,
Sridar wrote: |
Can is set the Properties of an MQOutput Node from a Compute Node which is preceding it in the Message Flow.
I wan to set the Properties(like Transaction) based on some criterions in the message
MqInput --> Compute --> MQOutput |
You cannot set the properties of the MQOutput node from the compute node.
You could have two MQOutput nodes(one with and another without transation) and send messages to them using a Filter node.
Regards. |
|
Back to top |
|
 |
Sridar |
Posted: Sun Aug 27, 2006 10:24 pm Post subject: |
|
|
Acolyte
Joined: 14 May 2006 Posts: 72 Location: Chennai, India
|
Hi elvis,
Do you mean to say that Transaction mode cannot be set or none of the Properties can be set.
Because I Jus checked with some code Templates i had.(It's a working one)
It seems we can set the queue name of the Output Queue by using the following.
OutputLocalEnvironment.Destination.MQ.DestinationData.queueName = 'appropriate queue name'
I just want to know if Transaction mode can be set this way or not. _________________ Thanks and Regards
Sridar |
|
Back to top |
|
 |
elvis_gn |
Posted: Sun Aug 27, 2006 11:27 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi Sridar,
Sridar wrote: |
Do you mean to say that Transaction mode cannot be set or none of the Properties can be set.
Because I Jus checked with some code Templates i had.(It's a working one)
It seems we can set the queue name of the Output Queue by using the following.
OutputLocalEnvironment.Destination.MQ.DestinationData.queueName = 'appropriate queue name' |
Even for the above to work, If you notice the properties of the MQOutput node, you'll find a property Destination Mode...if this is set to "Destination List"...then only, can u use the above code that u pasted...the above line of code will not work if you have kept the property to "Queue name"...
The line of code dosen't exactly populate the value of Queue name to the node...
I don't think such lines of code are available for every property of the node, including the transaction...that has to be set at the node level.
Regards. |
|
Back to top |
|
 |
Sridar |
Posted: Mon Aug 28, 2006 12:20 am Post subject: |
|
|
Acolyte
Joined: 14 May 2006 Posts: 72 Location: Chennai, India
|
Thanks elvis
I have set Destination List only.
Will try and let you know if Transaction mode is possible _________________ Thanks and Regards
Sridar |
|
Back to top |
|
 |
|