There is a getPropertyNames() function, but there doesn't seem to be one
which returns the types of the fields.

Secondly, the property names are delivered as part of a message, does
this information exist on a destination level.  In other words, before a
message is received, does (or can) the client known such meta data?

My motivation is a generic Jtable which can be linked to a destination
(topic or queue).  The JTable model needs to know the number of fields
and their types, before a message is received.


-----Original Message-----
From: Gordon Sim [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2008 4:14 AM
To: [email protected]
Subject: Re: metadata describing message properties?

Shahbaz Chaudhary wrote:
> I didn't notice the ability to retreive the names and types of
> properties contained in messages in the JMS api.  Is this something
> qpid supports already or plans on supporting?  This is very similar
> to the metadata provided by the JDBC api.

I'm not entirely sure I'm answering the right question here, but JMS 
does indeed offer the ability to get and set various message properties 
and the Qpid JMS client implements them. See the javadoc for the Message

interface [1].

[1] http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html

Reply via email to