Bugs item #857589, was opened at 2003-12-10 15:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=857589&group_id=22866

Category: JBossMQ
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Eric Jain (ejain)
Assigned to: Nobody/Anonymous (nobody)
Summary: NumberFormatException accessing inexistant message property

Initial Comment:
If message.getLongProperty("x") is called on a message 
that never had a property "x" set, a 
NumberFormatException is thrown. Not sure what the 
specification says, but I imagine that the required 
behavior would be to either return null or throw a 
JMSException.

java.lang.NumberFormatException: Message 
property 'duration' not set.
        at org.jboss.mq.SpyMessage.getLongProperty
(SpyMessage.java:305)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=857589&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to