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 » Need to create new msgset and flow based on the old ones

Post new topic  Reply to topic
 Need to create new msgset and flow based on the old ones « View previous topic :: View next topic » 
Author Message
chris boehnke
PostPosted: Wed Jun 13, 2007 2:20 pm    Post subject: Need to create new msgset and flow based on the old ones Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Hi All,
I am creating new messageset project and new messageflow project based on the old messageset and flow projects with slight modification to the existing ones.

To avoid the conflict between the messageset and flow names, do I need to create a new messageset and flow projects or can I modify the names of the existing messageset and flow when I make the changes as per our requirement.
We need to use the old messageset and flow projects as well as modified(new) messageset and flow projects.

Please suggest.

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 13, 2007 2:22 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Message Sets have unique IDs. If you modify one, and deploy it with a new name, you will have two different sets with the same ID - or perhaps only one but you don't know which.

So, you need an entirely new message set if you need to deploy both versions at the same time.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Jun 13, 2007 2:35 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You can choose to base one message set on another. It's in the New Message Set wizard somewhere.
Back to top
View user's profile Send private message
chris boehnke
PostPosted: Wed Jun 13, 2007 2:45 pm    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

kimbert wrote:
You can choose to base one message set on another. It's in the New Message Set wizard somewhere.


What I understood is..I cannot modify the names of the messageset. As I am using both messagesets(old and modified) at the same time, I can create a new messageset by choosing the option "based on the old messageset", correct???.

In case of message flows we can modify the names as we change the ESQL code. I can able to modify the main flow name but when I change the name of the subflow(which is used by main flow), I am getting error. Do I need to take any precautions while modifying the name of the subflow???

Thanks.
Back to top
View user's profile Send private message
vk
PostPosted: Wed Jun 13, 2007 8:58 pm    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

Quote:
I can create a new messageset by choosing the option "based on the old messageset", correct???.


Correct. As Kimbert pointed out, when you create a new message set project, you get an option 'Base Message Set'. This will be a dropdown box from which you can select the message set which you want to copy. The messageSet.mset file for the new project will have a different message set identifier.

Quote:
I can able to modify the main flow name but when I change the name of the subflow(which is used by main flow), I am getting error


What error are you getting?

Quote:
Do I need to take any precautions while modifying the name of the subflow???


Subflow in a message flow is a reference to another flow. So multiple flows can refer to the same subflow. If you are creating a copy of the original subflow, then make sure that you rename the subflow first before changing the name of the subflow in the main message flow which uses the subflow. You can right click on the subflow node in the main message flow and do a 'Locate Subflow' to make it point to the correct message flow project where the subflow is present. Also, you need to set appropriate references in project properties.

Regards,
VK.
Back to top
View user's profile Send private message
chris boehnke
PostPosted: Thu Jun 14, 2007 5:22 am    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

If I modify the subflows and rename them, are they going to affect the old bar files which were using the older version of the subflows. Why I am asking this here is....we dont see any subflows inside the bar files. In the main flows, there is somewhere the subflows are calling.

If I want to deploy a old bar file which is created with the older version of main flows and subflows whether it is going to work in the same as it was working before even after I modify the main flows and subflows. I know there won't be any problem with the main flows. I am bit afraid whether the subflows are going to affect if I modify them.

Suggestions and your thoughts please...
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Thu Jun 14, 2007 5:43 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

chris boehnke wrote:
If I modify the subflows and rename them, are they going to affect the old bar files which were using the older version of the subflows. Why I am asking this here is....


Nope. BAR files are like zip files. Whatever you put into them stay into them until you put something else in them. You might see them as snapshots

chris boehnke wrote:

we dont see any subflows inside the bar files. In the main flows, there is somewhere the subflows are calling.


You don't see subflows because they are getting flattened into the mainflow while inserting the flows into the BAR file.

chris boehnke wrote:

If I want to deploy a old bar file which is created with the older version of main flows and subflows whether it is going to work in the same as it was working before even after I modify the main flows and subflows.


As already mentioned, if you don't change the BAR file it will all work as it always did with the version of that particular flow.
Back to top
View user's profile Send private message
vk
PostPosted: Thu Jun 14, 2007 5:52 am    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

If you are having 2 separate instances of the same subflow then with different names, then there will not be any issue.

Also, even if the 2 main flows are pointing to the same subflow with the same name, the previously deployed flows and subflows will not get affected unless you do a redeploy. The subflow is compiled and added to the BAR file when you add the main flow which uses the BAR file.

Regards,
VK.
Back to top
View user's profile Send private message
chris boehnke
PostPosted: Thu Jun 14, 2007 6:46 am    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Thanks for your valuable info.

I am using Toolkit version 6.0.2.

I renamed the messageflows. The ESQL files related to the flows are not updated with the new name(with the modified flow name).

Do I need to rename the ESQL file name also when I rename the flow name?.

Thanks.
Back to top
View user's profile Send private message
jbanoop
PostPosted: Thu Jun 14, 2007 7:03 am    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

the ESQL file name is of no technical importance to u .. the only thing that is requires is that the ESQL module on your nodes point to the correct module.. which they will.
However in my opinion it is advisable to change the ESQL filename also to match the flow name.
Regards,
Anoop
Back to top
View user's profile Send private message Yahoo Messenger
WBI_user
PostPosted: Fri Jul 20, 2007 2:53 pm    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

Sorry, this is a question instead of a reply
In earlier response it says
"You can choose to base one message set on another. It's in the New Message Set wizard somewhere."
Does any one know where is this option hiding on Toolkit 602 ?
Back to top
View user's profile Send private message
WBI_user
PostPosted: Sat Jul 21, 2007 9:07 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

Found the answer. You need to have an already existing message set in the work space before the list will show up. I was hopng to use an existing message set in another work space. Please correct me if ayone has a different answer
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Jul 21, 2007 11:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Eclipse doesn't know anything about anything that isn't in the current workspace.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
WBI_user
PostPosted: Mon Jul 23, 2007 5:07 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

I was expecting it to give me a browse option so that I can go to get the message set that I want to base on in another work space. Anyway only my wish list. In V2.1 it actually has the wording something like "create MS based on......" as mentioned in the earlier entries here. But in V6 it says "copy message set content from another message set" and if you do not already have any message set in the workspace, all you have is "create message set with no message definition" and no drop down. This is where I got stuck originally and start looking for the option somewhere else. Anyway, just my own feeling on usability.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jul 23, 2007 5:16 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's not that straight forward to go get a random resource from the file system, in Eclipse.

Eclipse likes to only work with resources that are in, or linked to, the current workspace.

And the Toolkit is based on Eclipse.
_________________
I am *not* the model of the modern major general.
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 » Need to create new msgset and flow based on the old ones
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.