[jdom-interest] Messaging: JMS Unable to Serialize Document
Jason Hunter
jhunter at collab.net
Tue Oct 17 15:23:34 PDT 2000
Let me say this one more time:
Before reporting a potential bug, make sure you try the latest code and
SAY that you're using the latest code. This sounds like you're using a
version before beta5.
(I'm getting VERY tired of saying this.)
-jh-
Steve Morris wrote:
>
> I'm having difficulty sending JDOM XML Documents to MQSeries queues via Java
> Messaging Service (JMS).
>
> I have a javax.jms.ObjectMessage defined as...
>
> > ObjectMessage myMessage;
>
> When I try to call the its setObject method, providing my JDOM Document as
> the argument...
>
> > myMessage.setObject(myDocument);
>
> JMS throws the following....
>
> > javax.jms.MessageFormatException:
> > MQJMS1060: Unable to serialize object
>
> Here's a link to the javax.jms.ObjectMessage where
> setObject(java.io.Serializable object) is defined...
>
> > http://java.sun.com/products/jms/javadoc-102a/javax/jms/ObjectMessage.html
>
> Doesn't org.jdom.Document implement serializable?
> When I send other types of Objects such as...
>
> > String myString = "A String in an Object";
>
> > myMessage.setObject(myString);
>
> it works ok.
>
> What am I missing?
>
> Steviemo
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list