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 » mqsiapplybaroverride Command Problem

Post new topic  Reply to topic
 mqsiapplybaroverride Command Problem « View previous topic :: View next topic » 
Author Message
sraghukumar
PostPosted: Mon Jun 13, 2011 5:28 am    Post subject: mqsiapplybaroverride Command Problem Reply with quote

Apprentice

Joined: 15 Feb 2011
Posts: 49

Hi Every one,
I am facing problem with this command,

mqsiapplybaroverride -b C:\Request.bar –p C:\Handler.properties

Request.msgflow:
Has 1 input node by name : In Queue
Has 1 compute Node by name: Split Logic
Has 1 Out out node by name: out Queue
Has 1 sub flow by name : Sub Flow

I am creating Broker.xml file as below. My queuestion is do i need to mention all the nodes in broker.xml file or only node which i am modifying.

If i have to include all the nodes in the broker.xml file, please let know should i include even sub flow nodes in to the broker.xml


Handler.properties:

<?xml version="1.0" encoding="UTF-8" ?>
<Broker>
<CompiledMessageFlow name="Splitter">
<ConfigurableProperty uri="Splitter#Split Logic.dataSource" />
<ConfigurableProperty override="MTASDEV01" uri="Splitter#Split Logic.dataSource" />
</CompiledMessageFlow>
</Broker>

I am using : broker 7 and MQ 7 with latest fix pack on Solaris.


[/u]
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Jun 13, 2011 5:57 am    Post subject: Re: mqsiapplybaroverride Command Problem Reply with quote

Grand High Poobah

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

sraghukumar wrote:
I am facing problem with this command


What problem? I seem to be missing the error message in your post. Or your list of things not being overriden.

Typically you're only mention the things you're trying to override.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sraghukumar
PostPosted: Mon Jun 13, 2011 6:21 am    Post subject: Reply with quote

Apprentice

Joined: 15 Feb 2011
Posts: 49

@Vitor

The Flags are invalid, Missing or cannot be used together.
I get syntax error.
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Mon Jun 13, 2011 7:07 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Moving this to the Broker forum...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
sraghukumar
PostPosted: Mon Jun 13, 2011 7:07 am    Post subject: Reply with quote

Apprentice

Joined: 15 Feb 2011
Posts: 49

@Vitor

I see two format, Which one should i use with mqsiapplybaroverride command for *.properties file.


MTASRequest.bar.0.schemaName=com.vzw.mtas.psb.request
MTASRequest.bar.0.flowName=MF_RequestHandler
MTASRequest.bar.0.nodeName=HandleRequest
MTASRequest.bar.0.propertyName=dataSource
MTASRequest.bar.0.overrideValue=MTASDEV01


<?xml version="1.0" encoding="UTF-8" ?>
<Broker>
<CompiledMessageFlow name="MF_RequestSplitter">
<ConfigurableProperty uri="MF_RequestSplitter#Get Network Elements.dataSource" />
<ConfigurableProperty override="MTASDEV01" uri="MF_RequestSplitter#Get Network Elements.dataSource" />
</CompiledMessageFlow>
</Broker>


Thank you,
Raghu
Back to top
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Mon Jun 13, 2011 7:11 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Please refer and read this link (see the examples too)

-o option is used to send the result to another file .

If you want to overwrite the same file...
example :
mqsiapplybaroverride -b myBar.bar -m myFlow#additionalInstances=5
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
sraghukumar
PostPosted: Mon Jun 13, 2011 7:19 am    Post subject: Reply with quote

Apprentice

Joined: 15 Feb 2011
Posts: 49

I am really confused about Name Value pair,
FlowName: Name of the Message Flow,
NodeName: say i have compute node by name "Create Message" In the place of NodeName should i use "Compute" or "Create Message"

FlowName#NodeName.PropertyName=NewPropertyValue
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Jun 13, 2011 7:26 am    Post subject: Reply with quote

Grand High Poobah

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

sraghukumar wrote:
I see two format, Which one should i use with mqsiapplybaroverride command for *.properties file.


Neither; I don't believe either matches the documentation.

Personally, I prefer the non-XML form. For the 2 or 3 lines you need it's clear enough & tends to scare downstream personel who must check/edit it less.

I don't see what this has to do with your problem though.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 13, 2011 7:28 am    Post subject: Reply with quote

Grand High Poobah

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

sraghukumar wrote:
say i have compute node by name "Create Message" In the place of NodeName should i use "Compute" or "Create Message"


Let's assume that, like the majority of flows, yours has more than 1 Compute node. If you didn't refer to the different nodes by name, how could you override one and not the rest?


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Mon Jun 13, 2011 7:37 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

exerk wrote:
Moving this to the Broker forum...

Thanks for moving it to correct section.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqsiapplybaroverride Command Problem
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.