ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQOutput Properties

Post new topic  Reply to topic
 MQOutput Properties « View previous topic :: View next topic » 
Author Message
Sridar
PostPosted: Sun Aug 27, 2006 9:18 pm    Post subject: MQOutput Properties Reply with quote

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
View user's profile Send private message
elvis_gn
PostPosted: Sun Aug 27, 2006 9:56 pm    Post subject: Re: MQOutput Properties Reply with quote

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
View user's profile Send private message Send e-mail
Sridar
PostPosted: Sun Aug 27, 2006 10:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
elvis_gn
PostPosted: Sun Aug 27, 2006 11:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Sridar
PostPosted: Mon Aug 28, 2006 12:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQOutput Properties
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.