Author |
Message
|
suraj |
Posted: Wed Feb 13, 2008 11:36 am Post subject: code promotion to various environments |
|
|
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 |
|
 |
EddieA |
Posted: Wed Feb 13, 2008 12:47 pm Post subject: |
|
|
 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 |
|
 |
suraj |
Posted: Wed Feb 13, 2008 4:06 pm Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Feb 13, 2008 4:21 pm Post subject: |
|
|
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 |
|
 |
jharringa |
Posted: Thu Feb 14, 2008 8:09 am Post subject: |
|
|
Acolyte
Joined: 24 Aug 2007 Posts: 70
|
|
Back to top |
|
 |
mqmatt |
Posted: Thu Feb 14, 2008 10:29 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
Make sure your administrators are familiar with the mqsiapplybaroverride command. |
|
Back to top |
|
 |
suraj |
Posted: Mon Feb 18, 2008 10:02 am Post subject: |
|
|
Acolyte
Joined: 31 Jul 2007 Posts: 56
|
thanks...  |
|
Back to top |
|
 |
|