Author |
Message
|
my_mqmb |
Posted: Sun Apr 15, 2012 5:26 am Post subject: Re-using a Message set and its mesages in message definition |
|
|
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 |
|
 |
mqjeff |
Posted: Sun Apr 15, 2012 6:14 am Post subject: Re: Re-using a Message set and its mesages in message defini |
|
|
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 |
|
 |
kimbert |
Posted: Sun Apr 15, 2012 12:59 pm Post subject: |
|
|
 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 |
|
 |
Esa |
Posted: Sun Apr 15, 2012 11:22 pm Post subject: |
|
|
 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 |
|
 |
kimbert |
Posted: Mon Apr 16, 2012 12:57 am Post subject: |
|
|
 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 |
|
 |
my_mqmb |
Posted: Mon Apr 16, 2012 1:01 am Post subject: |
|
|
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 |
|
 |
kimbert |
Posted: Mon Apr 16, 2012 2:47 am Post subject: |
|
|
 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 |
|
 |
|