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 » Simple:: Message Sets theorotical doubts.

Post new topic  Reply to topic
 Simple:: Message Sets theorotical doubts. « View previous topic :: View next topic » 
Author Message
_novice_
PostPosted: Sat Oct 30, 2004 8:34 pm    Post subject: Simple:: Message Sets theorotical doubts. Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Sun Oct 31, 2004 4:40 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kimbert
PostPosted: Mon Nov 01, 2004 3:08 am    Post subject: Reply with quote

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
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 » Simple:: Message Sets theorotical doubts.
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.