|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Simple:: Message Sets theorotical doubts. |
« View previous topic :: View next topic » |
Author |
Message
|
_novice_ |
Posted: Sat Oct 30, 2004 8:34 pm Post subject: Simple:: Message Sets theorotical doubts. |
|
|
Novice
Joined: 22 Oct 2004 Posts: 15
|
Hi Gurus
In Message Sets::
1. A Message definition is supposed to be based on a single compound type.
2. A message is built up of Types and Elements.
Arent these 2 statement contradicting..?
What I am getting confused with is that when I define a new Message in a message set , I can only base that Message definition on a compound type. Which impies that my message structure is fundamentally based on the compound type skeleton. So If I add more elements , how is my message going to be..? Is it like a "compound type + a couple of elements" . .?
No hurries , pls take ur time..
Thnx in advance |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Oct 31, 2004 4:40 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Just a little bit of speculation and let the experts correct me if I am wrong:
The base type of the message would be compound (i.e. structure)
The base type of the constituants of a compound would be Types
Now an element would be made of Types/compound
A message would always be a compound because made of elements...
Type = atomical set (String, numerical, etc...)
Element= construct representing a structure made of types and/or elements
Compound= collection of elements.
 |
|
Back to top |
|
 |
kimbert |
Posted: Mon Nov 01, 2004 3:08 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
There's no contradiction. A type is either simple ( i.e. a scalar value like integer or string) or compound ( i.e. it contains other elements, or even embedded types).
Almost all messages contain a hierarchy of simple data items, so we impose the restriction that all messages are based on a compound type.
When the docs say
Quote: |
A message is built up of Types and Elements |
it just means that a message is a hierarchy of data, defined by a compound type.
By the way, I believe you are a 2.1 user, so I've used 2.1 terminology. In version 5, a message is based on a global complex element. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|