[prev in list] [next in list] [prev in thread] [next in thread]
List: openjms-developer
Subject: [openjms-developer] [ openjms-Bugs-970225 ] problem with Object Message
From: "SourceForge.net" <noreply () sourceforge ! net>
Date: 2004-06-10 13:23:08
Message-ID: E1BYPWO-000813-00 () sc8-sf-web3 ! sourceforge ! net
[Download RAW message or body]
Bugs item #970225, was opened at 2004-06-10 09:38
Message generated for change (Settings changed) made by maroillez
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=970225&group_id=54559
Category: message engine
Group: v0.7.6.1
>Status: Deleted
Resolution: None
Priority: 5
Submitted By: Maroillez Benoit (maroillez)
Assigned to: Jim Alateras (jalateras)
Summary: problem with Object Message
Initial Comment:
Hi,
I created my own class of message called
"ServiceMessage" that implements Serializable. I have
tried serialisation into a file and it works well.
So I post that message on a Queue as an ObjectMessage
using
...
ObjectMessage msg = session.
createObjectMessage(mymessage);
sender.send(msg);
...
The message seems well posted but after reception i try
to deserialize it to getback my object with:
...
srvMsg = (ServiceMessage)message.getObject();
...
and i get:
javax.jms.MessageFormatException: com.thalesis.jms.util.
ServiceMessage
at org.exolab.jms.message.ObjectMessageImpl.
getObject(ObjectMessageImpl.java:223)
I have even tried to use MapMessage and store my
object below a key. It doesnt work.
I have tried this bit of code with others JMS Server (such
as a trial version of Weblogic) and it works.
Cheers,
Ben
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=970225&group_id=54559
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
openjms-developer mailing list
openjms-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openjms-developer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic