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 » mqsicreatebar -version parameter not working for all objects

Post new topic  Reply to topic
 mqsicreatebar -version parameter not working for all objects « View previous topic :: View next topic » 
Author Message
rrydziu
PostPosted: Fri Feb 10, 2012 1:24 am    Post subject: mqsicreatebar -version parameter not working for all objects Reply with quote

Newbie

Joined: 21 Dec 2011
Posts: 8

Hi,

Some time ago I have faced problem with versioning objects in bar.
mqsicreatebar has a possibility to add -version parameter which
Quote:
Appends the _ (underscore) character and the value of VersionString to the names of the objects added to the BAR file, before the file extension.

Objects may be flows, java projects (compiled to jars), jars (copied from specified place), and message sets.

For flows, jars and java projects it is working fine, but message set .dictionary and xsdzip files are without version appended.

any idea how to make it work?

I have a problem that I would like to deploy into same ex group 2 bars with same message setobject in two different versions.

second thing is that:
even I have a renamed jar or dictionary - does it mean that there will be no conflict between two different versions?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Feb 10, 2012 5:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Another possible way is to override the version property.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
rrydziu
PostPosted: Fri Feb 10, 2012 6:27 am    Post subject: Reply with quote

Newbie

Joined: 21 Dec 2011
Posts: 8

at first I thought the same, but it is not a typical property.
In cmf (compiled flow) it is visible as first element of MessageFlow - version.
Example:

Code:
<MessageFlow><ConfigurablePropertyTable><Documentation><longDesc/><version value="$MQSI_VERSION=R2768 MQSI$"/></Documentation>

So this is version and keyword at the same time.
when reading bar(mqsireadbar) I can see result:
Code:

SampleBar_R2768.bar:
 SampleFlow_R2768.cmf (2/10/12 3:03 PM):
    VERSION = R2768
  Messagset.xsdzip (2/10/12 3:03 PM):
  Messagset.dictionary (2/10/12 3:03 PM):
  Deployment descriptor:
 SampleFlow_R2768#additionalInstances
[..] some other properties with suffixed version
SampleFlow#something = Test
[..] other properties without suffixed version

there is one place where VERSION is set and there is no way to override it or at least I can't do this with mqsiapplybaroverride.
Back to top
View user's profile Send private message
ganesh
PostPosted: Fri Feb 10, 2012 7:15 am    Post subject: Reply with quote

Master

Joined: 18 Jul 2010
Posts: 294

Go through this link, I was able to override the version property in jars as well as message sets using ant scripts and mqsiapplybaroverride

http://www.mqseries.net/phpBB2/viewtopic.php?p=306262&sid=fe4896d551f67af4c4176d6d2b3f2ae7
Back to top
View user's profile Send private message
rrydziu
PostPosted: Fri Feb 10, 2012 7:34 am    Post subject: Reply with quote

Newbie

Joined: 21 Dec 2011
Posts: 8

ganesh wrote:
Go through this link, I was able to override the version property in jars as well as message sets using ant scripts and mqsiapplybaroverride

http://www.mqseries.net/phpBB2/viewtopic.php?p=306262&sid=fe4896d551f67af4c4176d6d2b3f2ae7


thanks for the link. I have seen this presentation, it is more like labelling flows with keywords.

What I like to obtain is to have possibility to deploy two flows in two different versions to same execution group. Keyword probably won't help. But VERSION may help (see slide 12th, VERSION!=version) - for now only partly: flows and jars have appended VERSION but message sets don't.
Back to top
View user's profile Send private message
ganesh
PostPosted: Fri Feb 10, 2012 9:15 am    Post subject: Reply with quote

Master

Joined: 18 Jul 2010
Posts: 294

There is a version tag inside the message set file, add some token there and then replace it using ant scripts during bar file creation or override.
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 » mqsicreatebar -version parameter not working for all objects
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.