Author |
Message
|
machinist |
Posted: Mon Aug 22, 2016 4:16 am Post subject: what is difference between message set & message model |
|
|
 Novice
Joined: 17 Feb 2016 Posts: 15 Location: India
|
Can anyone tell me what is difference between message set and message model? |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Aug 22, 2016 4:21 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The version of IIB you re using, and the parser you are using. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
machinist |
Posted: Thu Aug 25, 2016 2:18 am Post subject: |
|
|
 Novice
Joined: 17 Feb 2016 Posts: 15 Location: India
|
I am using IIB10 version and XMLNSC parser.
I need difference between Message Model and message set |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Aug 25, 2016 3:08 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Why not tell us what you think it is? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 25, 2016 4:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
machinist wrote: |
I need difference between Message Model and message set |
Why? What value is this knowledge to you? Especially given your quoted case:
machinist wrote: |
I am using IIB10 version and XMLNSC parser. |
Which typically requires neither. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Aug 25, 2016 4:50 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
machinist wrote: |
I am using IIB10 version and XMLNSC parser. |
Which typically requires neither. |
Well. Maybe a set of schemas counts as a message model...
Regardless, there are almost certainly no message sets in IIBV10. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 25, 2016 4:55 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Well. Maybe a set of schemas counts as a message model... |
I'd disagree with you that a bunch of imported schema files counts as a "model" in the traditional broker sense.
But that's because I have so little hair left I have to split it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
shanson |
Posted: Thu Aug 25, 2016 7:35 am Post subject: |
|
|
 Partisan
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
|
A 'message model' is the generic term for an IIB artifact that describe a set of message formats. There are two kinds of message model - the original kind called a 'message set' and the newer kind (v8 onwards) which is one or more schemas in a library or application. Both are supported in v10, you are recommended to use the latter. |
|
Back to top |
|
 |
machinist |
Posted: Thu Aug 25, 2016 9:56 pm Post subject: |
|
|
 Novice
Joined: 17 Feb 2016 Posts: 15 Location: India
|
thanks @shanson  |
|
Back to top |
|
 |
vasa |
Posted: Fri Aug 26, 2016 12:56 am Post subject: |
|
|
Newbie
Joined: 27 Nov 2008 Posts: 7
|
Message set:
A message set is a container for grouping messages and associated message resources. It supports various domains such as MRM, XMLNSC, BLOB etc.
And each message domain would support various message formats (XML Wire Format, Custom Wire Format, Tagged/Delimited Wire Format)
Message model:
A message model is used by WebSphere Message Broker to model a message format. The message models used by WebSphere Message Broker are all based on World Wide Web Consortium (W3C) XML Schema 1.0 (XSD). XML Schema is an international standard that defines a language for describing the structure of XML documents.
 |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 26, 2016 4:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
No.
A message set is an old nomenclature (name) for a container of message description documents - most generally MRM models and XML Schemas.
A message model is just a message description document, without a specific container. It can be added to any kind of Broker container, like an application, or a library, or a service or the "default" application that is used when you think you haven't created an application.
You hvae to use message sets in versions of the product that do not support applications and libraries and etc. You can still use message sets in newer versions of IIB, but converting those resources - in particular MRM models to DFDL models - to exist as plain message models is a good idea. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Craig B |
Posted: Tue Sep 20, 2016 2:18 am Post subject: |
|
|
Partisan
Joined: 18 Jun 2003 Posts: 316 Location: UK
|
As the previous responses have mentioned Message models are the way forward rather than using a MessageSet. When schemas were imported into message sets they would be modified for use by the MRM and there were facets of schemas that could not be supported. This does not happen for schemas in message models. It is also worth noting that as Message models are the preferred approach now, message sets cannot be used with newer technology in V10. For example shared libraries have been introduced in V10 and you cannot use a MessageSet in a shared library. _________________ Regards
Craig |
|
Back to top |
|
 |
|