| Author | 
		  Message
		 | 
		
		  | sraghukumar | 
		  
		    
			  
				 Posted: Mon Jun 13, 2011 5:28 am    Post subject: mqsiapplybaroverride Command Problem | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Mon Jun 13, 2011 5:57 am    Post subject: Re: mqsiapplybaroverride Command Problem | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sraghukumar | 
		  
		    
			  
				 Posted: Mon Jun 13, 2011 6:21 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | exerk | 
		  
		    
			  
				 Posted: Mon Jun 13, 2011 7:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sraghukumar | 
		  
		    
			  
				 Posted: Mon Jun 13, 2011 7:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | shashivarungupta | 
		  
		    
			  
				 Posted: Mon Jun 13, 2011 7:11 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sraghukumar | 
		  
		    
			  
				 Posted: Mon Jun 13, 2011 7:19 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Mon Jun 13, 2011 7:26 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Mon Jun 13, 2011 7:28 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | shashivarungupta | 
		  
		    
			  
				 Posted: Mon Jun 13, 2011 7:37 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |