I created a TextMessage with UberMQ 1.0.2 and got a ClassCastException. It seems the setStandardProperty() method in the class MessageDatagram tries to cast the String into a byte.
TextMessage message = session.createTextMessage();
Exception in thread "main" java.lang.ClassCastException
yikes. that is another bug i've fixed in the mainline 1.1 branch.
i'll see if i can merge back easily and put another patch out.
sorry about that
OK, there's a 1.0.3 release up now, containing some (more) fixes from the 1.1 mainline.
let me know if it works for you, thanks!
I just tested with a fresh CVS checkout and it worked fine. I noticed the exec() method in the MessageServer class is now protected, so i guess the prefered way to start UberMQ is to use only something like new Thread(ms).start(); ?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.