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 » Avoiding Hardcode in the message flows

Post new topic  Reply to topic
 Avoiding Hardcode in the message flows « View previous topic :: View next topic » 
Author Message
Meow
PostPosted: Tue Nov 25, 2003 4:12 pm    Post subject: Avoiding Hardcode in the message flows Reply with quote

Voyager

Joined: 25 Jun 2003
Posts: 95

Hi folks,

I want to avoid hard coding of queue manager names and other object names in the WMQI message flows so that i dont have to change the names at each node every time when i move from development to testing and production platforms.

i know there is some thing called a Promote property is that what we have to use to avoid hardcoding. please let me know asap.


Thanks a ton
Paruvan
Back to top
View user's profile Send private message
jfluitsm
PostPosted: Tue Nov 25, 2003 11:45 pm    Post subject: Reply with quote

Disciple

Joined: 24 Feb 2002
Posts: 160
Location: The Netherlands

Promote works only from 'sub' flow to 'main' flow, so this doesn't solve your problem.

For queue-manager names there is a solution, only write to the queue-manager of the broker and leave this property blank. Use MQ remote queues or clustering to deliver messages on other queue-managers.

In WBIMB 5.0 this is solved, some attributes are 'promoted' to the broker-archive file and can be set before deploying.
_________________
Jan Fluitsma

IBM Certified Solution Designer WebSphere MQ V6
IBM Certified Solution Developer WebSphere Message Broker V6
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Thu Nov 27, 2003 7:11 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

jfluitsm wrote:
Promote works only from 'sub' flow to 'main' flow, so this doesn't solve your problem.

I thought you can promote property in main flow also, which needs to be set when deploying also. I need to test this one!
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Fri Nov 28, 2003 7:12 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

kirani wrote:
jfluitsm wrote:
Promote works only from 'sub' flow to 'main' flow, so this doesn't solve your problem.

I thought you can promote property in main flow also, which needs to be set when deploying also. I need to test this one!


Yes, you can. If you promote a property in any flow, that property can be set in two places. The first place is as a property of the node that represents the flow when it is inserted as a subflow.

The second is just in the Properties of the main flow. That is, if you right click your MQInput node, and Promote the queue name, and then right click on the flow in the list of flows and select 'Properties' (or right click on a blank space in the drawing pane), then you can also set the Queue name property.

But I personally haven't used this, and I haven't verified that it will work correctly. I've seen discussions from other people that it does, though.
_________________
I am *not* the model of the modern major general.
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 » Avoiding Hardcode in the message flows
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.