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 » modify message flow properties from a compute node

Post new topic  Reply to topic
 modify message flow properties from a compute node « View previous topic :: View next topic » 
Author Message
mchillin
PostPosted: Thu Mar 01, 2007 3:22 am    Post subject: modify message flow properties from a compute node Reply with quote

Novice

Joined: 27 Sep 2006
Posts: 16

Is it possible to modify the message flow properties using ESQL code or Java (Java Compute)?

For Example: Modify the database origin.

Thanks in advance for any advise.
Back to top
View user's profile Send private message
au@kosa
PostPosted: Thu Mar 01, 2007 3:28 am    Post subject: Reply with quote

Centurion

Joined: 04 Jan 2007
Posts: 103
Location: pune

Do you want to change the value of the parameter, once set in the property window of the built in node?
_________________
Regards,
au@kosa
IBM Certified SOA Solution Designer/Associate
Back to top
View user's profile Send private message Yahoo Messenger
mchillin
PostPosted: Thu Mar 01, 2007 3:41 am    Post subject: Reply with quote

Novice

Joined: 27 Sep 2006
Posts: 16

yes
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Thu Mar 01, 2007 3:51 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi mchillin,

You can't change the value in the node, but you definitely can access some other datasource in the compute....

Actually you can access other datasources of the same type(by type I mean DB2, Oracle etc) you cannot mix them though in a compute.

Regards.
Back to top
View user's profile Send private message Send e-mail
au@kosa
PostPosted: Thu Mar 01, 2007 3:53 am    Post subject: Reply with quote

Centurion

Joined: 04 Jan 2007
Posts: 103
Location: pune

Could you please elaborate what exactly you want to do by changing the value through C.N or J.C.N.
_________________
Regards,
au@kosa
IBM Certified SOA Solution Designer/Associate
Back to top
View user's profile Send private message Yahoo Messenger
au@kosa
PostPosted: Thu Mar 01, 2007 3:58 am    Post subject: Reply with quote

Centurion

Joined: 04 Jan 2007
Posts: 103
Location: pune

Hope the Below URL will help you

http://www.mqseries.net/phpBB2/viewtopic.php?t=26776&highlight=compute+multiple+database
_________________
Regards,
au@kosa
IBM Certified SOA Solution Designer/Associate
Back to top
View user's profile Send private message Yahoo Messenger
mchillin
PostPosted: Thu Mar 01, 2007 4:30 am    Post subject: Reply with quote

Novice

Joined: 27 Sep 2006
Posts: 16

To explain a little futher. The intention is to be able to change the name of the Database used in the message flow when changing between different environments.
For example: By checking mybrokername we can see in which environment we are in and from that we wanted to change the Database used in the message flow to coinside with that environment.

Is this possible?
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Thu Mar 01, 2007 4:40 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi mchillin,

Why should your broker name decide the database to connect to...

What you should do is make a general DSN name as say "APPDB", put that in your compute node, and then in every environment have that environment's database linked to that DSN name....

Thus automatically you would be connecting to the correct Db, without having to touch your flow....this will help especially when ur fixing defects and moving flows across environments...and make ur flow performance better...

Regards.
Back to top
View user's profile Send private message Send e-mail
au@kosa
PostPosted: Thu Mar 01, 2007 5:10 am    Post subject: Reply with quote

Centurion

Joined: 04 Jan 2007
Posts: 103
Location: pune

Quote:
The intention is to be able to change the name of the Database used in the message flow when changing between different environments


Then one of the option is to promote the DSN name property of the compute node and change the value of this property while deploying the bar file into the broker.
_________________
Regards,
au@kosa
IBM Certified SOA Solution Designer/Associate
Back to top
View user's profile Send private message Yahoo Messenger
mchillin
PostPosted: Thu Mar 01, 2007 5:33 am    Post subject: Reply with quote

Novice

Joined: 27 Sep 2006
Posts: 16

Quote:
promote the DSN name property of the compute node and change the value of this property while deploying the bar file into the broker

This is what we are currently doing but we want these properties to be dynamic according to the environment that the are used.

We also have other properties to bear in mind as we are using the z/OS CICS node, which has properties that change between the development and production environment.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 01, 2007 5:46 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can look at User Defined Properties in v6, for some of this. But you can't change node properties except at deploytime.

For things like queue names for output, you can use DestinationLists built from a database or UDPs or etc. For things like DSN names, you can code dynamic DSNs in v6.

For things like queues being read by MQInput nodes or HTTPInput URLs, you can't change them except at deploytime.

Well, you could run the risk of destroying your entire environment and being unsupported, and consider dynamically updating the broker database from within broker.

But that's an idea that is epic in horribleness.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mchillin
PostPosted: Thu Mar 01, 2007 5:53 am    Post subject: Reply with quote

Novice

Joined: 27 Sep 2006
Posts: 16

OK, that has cleared up a few doubts.

Thanks for the help.
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 » modify message flow properties from a compute node
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.