geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Smolenski" <jan.smolen...@gmail.com>
Subject JMS Message getPropertyNames( ) method returns empty enumeration
Date Tue, 07 Mar 2006 00:05:14 GMT
I'm using Geronimo 1.0 (WAS-CE with  ActiveMQ 3.2.1).
The getPropertyNames( ) method of the javax.jms.Message returns enumeration
without any elements (i.e. hasMoreElements() is 'false'). The line of java
code is shown below:

javax.jms.Message message = ....
Enumeration msgProps = message.getPropertyNames();
                while (msgProps.hasMoreElements()) {
                    .....

                }


Has anybody seen this behavior?

Jan

Mime
View raw message