users@jms-spec.java.net

[jms-spec users] [jsr343-experts] Re: QueueBrowser.getEnumeration

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Mon, 09 Jan 2012 12:06:42 +0000

John,

On 06/01/2012 10:49, John D. Ament wrote:
> It may be a bit late, but is it possible for us to provide a set or list back that is properly typed (e.g.
> javax.jms.Message) from QueueBrowser?

Can you be more specific about what you are asking for?

Are you asking for the existing method
     Enumeration getEnumeration() throws JMSException;
to be changed to
     Enumeration <Message> getEnumeration() throws JMSException;

or something else?

Nigel