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 » How to check bar overrides with an automated process?

Post new topic  Reply to topic
 How to check bar overrides with an automated process? « View previous topic :: View next topic » 
Author Message
jamesyu
PostPosted: Tue Jul 20, 2010 7:32 am    Post subject: How to check bar overrides with an automated process? Reply with quote

Acolyte

Joined: 31 Jan 2007
Posts: 70

Hi All,

We build bars and we override bars wtih different properties using Ant. After bars were overriden, we want to be able to have another automated process to ensure the bars are overriden correctly.

Any tools can do this?

Thanks,
James
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Jul 20, 2010 7:46 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

you are making your life so complicated....

why do you need a process on top of another process.....

you can write the same logic in ANT and verify it,
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 20, 2010 7:50 am    Post subject: Re: How to check bar overrides with an automated process? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

jamesyu wrote:
After bars were overriden, we want to be able to have another automated process to ensure the bars are overriden correctly.


So which automated process don't you trust? ANT or the apply overrides command? If you fear that automated process don't work how will you trust the automated process that checks the automated processes?

If your ant script works when you test it, be assured the magic won't disappear unexpectedly. Especially if you have proper error handling.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jamesyu
PostPosted: Tue Jul 20, 2010 7:56 am    Post subject: Re: How to check bar overrides with an automated process? Reply with quote

Acolyte

Joined: 31 Jan 2007
Posts: 70

We want to be able to do this as there are two teams involved. The dev team sends out a package of bars after overrides to another support team in another country. The support team wants to verify the bars.

Anyway, we want to be able to do it as this is part of the requirements.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 20, 2010 8:01 am    Post subject: Re: How to check bar overrides with an automated process? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

jamesyu wrote:
Anyway, we want to be able to do it as this is part of the requirements.


That's not a reason. That's saying you want to do it because someone's decided you want to do it.

Once you've verified this, how do you know that the support team won't apply a different set of overrides? Presumably because you trust the support team not to do this. Likewise the support team should trust the dev team to run the ant script properly, or run the overrides themselves if they don't.

I'm not aware of any tools that do this because it's an odd thing to want to do. You should be able to write something to decontruct the bar file & obtain the details you want.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jul 20, 2010 8:19 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Why doesn't mqsireadbar do the trick?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 20, 2010 8:25 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
Why doesn't mqsireadbar do the trick?


It might. I thought that just showed the original settings, but given what mqsiapplyoverrides must be doing it ought to show the current settings shouldn't it?

It's a bad day.

Using mqsireadbar still doesn't verify that the correct settings have been applied to the bar file; just that the settings given to the ant file have been applied. If the support team don't trust the dev team then even this doesn't address the basic issue...
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jamesyu
PostPosted: Tue Jul 20, 2010 8:42 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2007
Posts: 70

[quote="Vitor"]
mqjeff wrote:
Why doesn't mqsireadbar do the trick?


mqsireadbar may e able to do the work, together with some help from ant scripts or even Java code. I will look into it. Thanks a lot!
Back to top
View user's profile Send private message
mqmatt
PostPosted: Tue Jul 20, 2010 9:05 am    Post subject: Reply with quote

Grand Master

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

In WMB V6.1 and V7, overrides are all part of the CMP; you can query and set overrides really easily using the DeploymentDescriptor class. See http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=/com.ibm.etools.mft.cmp.doc/com/ibm/broker/config/proxy/DeploymentDescriptor.html
Back to top
View user's profile Send private message
jamesyu
PostPosted: Tue Jul 20, 2010 9:12 am    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2007
Posts: 70

mqmatt wrote:
In WMB V6.1 and V7, overrides are all part of the CMP; you can query and set overrides really easily using the DeploymentDescriptor class. See http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=/com.ibm.etools.mft.cmp.doc/com/ibm/broker/config/proxy/DeploymentDescriptor.html


Thanks a lot for your reminder! Great API's. That will save lots of coding. I will use them.
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 » How to check bar overrides with an automated process?
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.