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 » code promotion to various environments

Post new topic  Reply to topic
 code promotion to various environments « View previous topic :: View next topic » 
Author Message
suraj
PostPosted: Wed Feb 13, 2008 11:36 am    Post subject: code promotion to various environments Reply with quote

Acolyte

Joined: 31 Jul 2007
Posts: 56

hi..
I need a suggestion on this:

We will have different environments like Dev, Test and Prod.

The naming convention for the queue names requires that there is an environment postfix for all the queues.

Like QL.XXX_DEV will be a local queue on the dev box and the same queue will be QL.XXX_PROD on the production box.

So how will I handle this without having to change the code across the various environments?
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Feb 13, 2008 12:47 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Promote the QueueName property, and then modify it in the BAR file before you deploy.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
suraj
PostPosted: Wed Feb 13, 2008 4:06 pm    Post subject: Reply with quote

Acolyte

Joined: 31 Jul 2007
Posts: 56

thanks....

But there is a separate team for deployment.... and hence i dont want to alter the bar file across environments..
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 13, 2008 4:21 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

suraj wrote:
thanks....

But there is a separate team for deployment.... and hence i dont want to alter the bar file across environments..



You can't do ALL OF A) have different names in different environments, AND b) NOT change the bar file, AND c) NOT change the code.

You can choose two of the three.

Nobody other than you really cares which.

But choosing A) and C) is the one I'd take, and replace B with "Change the bar file". Perhaps even by using the pre-supplied command to do so.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jharringa
PostPosted: Thu Feb 14, 2008 8:09 am    Post subject: Reply with quote

Acolyte

Joined: 24 Aug 2007
Posts: 70

There are some good code samples out there on how to automate this process with Ant as well (if you are familiar with Ant). Ant actually comes with the Toolkit so there isn't a need for a seperate install.

Here is an article that will probably help you out.

http://www.ibm.com/developerworks/websphere/library/techarticles/0706_spriet/0706_spriet.html?ca=drs-
Back to top
View user's profile Send private message
mqmatt
PostPosted: Thu Feb 14, 2008 10:29 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Make sure your administrators are familiar with the mqsiapplybaroverride command.
Back to top
View user's profile Send private message
suraj
PostPosted: Mon Feb 18, 2008 10:02 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jul 2007
Posts: 56

thanks...
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 » code promotion to various environments
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.