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 » message flow name change

Post new topic  Reply to topic
 message flow name change « View previous topic :: View next topic » 
Author Message
paustin_ours
PostPosted: Mon Jun 30, 2014 1:09 pm    Post subject: message flow name change Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

I have a bar file. I want to override this bar file with a property file and also change the flow name when it gets deployed. Is it possible? The name of the flow is the parent tag in the broker.xml file
Back to top
View user's profile Send private message Yahoo Messenger
mqjeff
PostPosted: Mon Jun 30, 2014 1:12 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can alter the contents of a bar file, manually, and thus alter the name of the deployed resource.

It is not quite as simple as editing the broker.xml file. And it's more complicated when the bar file contains applications and libraries.
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Mon Jun 30, 2014 1:19 pm    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

trying to do this programatically. I am able to change the queue name, DSN etc but i need to change the flow name as welll from the property file.

i am getting ready to try it soon. will update.
Back to top
View user's profile Send private message Yahoo Messenger
mqjeff
PostPosted: Mon Jun 30, 2014 1:32 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can do it programattically. By writing a program to edit the contents of the bar file.

You probably have to change more than just the items in the broker.xml.
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Mon Jun 30, 2014 1:46 pm    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

It cannot be done with just the mqsiapplybaroverride?

I was hoping to pass flowname as a property
Back to top
View user's profile Send private message Yahoo Messenger
mqjeff
PostPosted: Mon Jun 30, 2014 2:14 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

paustin_ours wrote:
It cannot be done with just the mqsiapplybaroverride?

I was hoping to pass flowname as a property


Does the documentation for mqsiapplybaroverride say that you can rename a message flow, or any other resource within the bar file?
Back to top
View user's profile Send private message
Esa
PostPosted: Wed Jul 02, 2014 2:51 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

You can use CMP java API to change a flow's name in runtime.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 02, 2014 5:31 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Esa wrote:
You can use CMP java API to change a flow's name in runtime.

Which doesn't help if you need to deploy something without overwriting an existing flow with the same name.
Back to top
View user's profile Send private message
Esa
PostPosted: Wed Jul 02, 2014 5:41 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

No, but it helps if you need to change the flow name as a part of the deployment process, for example add a release number.
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 » message flow name change
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.