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 » Re-using a Message set and its mesages in message definition

Post new topic  Reply to topic
 Re-using a Message set and its mesages in message definition « View previous topic :: View next topic » 
Author Message
my_mqmb
PostPosted: Sun Apr 15, 2012 5:26 am    Post subject: Re-using a Message set and its mesages in message definition Reply with quote

Voyager

Joined: 08 Jun 2011
Posts: 84

For a new mset i need to reuse a message already defined in an existing mset .


Any way to do this ?

i tried to create new mset by copying from existing one and then trying to rename it , but it is throwing errors

Can any one suggest a way ?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sun Apr 15, 2012 6:14 am    Post subject: Re: Re-using a Message set and its mesages in message defini Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

my_mqmb wrote:
i tried to create new mset by copying from existing one and then trying to rename it , but it is throwing errors


HOW did you try to copy it?

HOW did you try to rename it?

WHEN did the errors come?

WHAT were the errors?
Back to top
View user's profile Send private message
kimbert
PostPosted: Sun Apr 15, 2012 12:59 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
i need to reuse a message already defined in an existing mset .
Why do you need to do that? Can you share some details about your message flow and your data format(s)?
Back to top
View user's profile Send private message
Esa
PostPosted: Sun Apr 15, 2012 11:22 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

kimbert wrote:
Why do you need to do that? Can you share some details about your message flow and your data format(s)?


I have seen all kinds of naming standards. Perhaps the OP's naming standard requires that a message set must be named so that you can see which flow is using it. I wouldn't be surprised.

@my_mqmb: When you create a message set with the wizard, the first screen lets you 'copy message set contents from another message set'.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Apr 16, 2012 12:57 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Esa said:
Quote:
I have seen all kinds of naming standards. Perhaps the OP's naming standard requires that a message set must be named so that you can see which flow is using it. I wouldn't be surprised.
Perhaps.

I have seen data formats where the ability to reference a structure in another message set is a useful feature. I know of a way to do that. I do not know whether my_mqmb has that requirement - hence my question.
Back to top
View user's profile Send private message
my_mqmb
PostPosted: Mon Apr 16, 2012 1:01 am    Post subject: Reply with quote

Voyager

Joined: 08 Jun 2011
Posts: 84

i am copying mset contents from another mset.

Both have same structure of messages defined in the msg definitions , except for their root names .

I require little modification or renaming of parent tags and m good to go.

But since this new mset is inherited by another , the msg definitions of parent if deleted
causes a problem and says ::

the schema failed to navigate to path path ../../../../contact admin.msxd.

I can keep it though ,
But i dont need the details of the parent , how to get rid of it ?


Another Way could be ..?

please suggest ..
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Apr 16, 2012 2:47 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
i am copying mset contents from another mset.
Right. But why are you doing that? What problem are you trying to solve?

By the sound of it, you are duplicating a lot of information when you copy an entire message set. That could cause maintenance problems in the future. If you tell us what the message flow is doing, we may be able to suggest another approach.
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 » Re-using a Message set and its mesages in message definition
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.