Exception while building Object Message with JMS SwiftMQ implementation : javax.jms.JMSException: java.io.IOException: failed to load image contents
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Lyse_Robadey
Posted On:   Friday, April 5, 2002 02:18 AM

Hi ! Do you have any idea why I get this message when building an object message ?


Here is the swiftMQ trace :


			
javax.jms.JMSException: java.io.IOException: failed to load image contents
at com.swiftmq.jms.ObjectMessageImpl.setObject(ObjectMessageImpl.java:86)
at com.swiftmq.jms.SessionImpl.createObjectMessage(SessionImpl.java:292)

Thank's for helping me,


Lyse

Re: Exception while ...

Posted By:   Andreas_Mueller  
Posted On:   Friday, April 5, 2002 05:35 AM

It has to do with the type of object you set with setObject(). The exception results out of serialization. Do you send an Image? If yes, send it as byte[].
About | Sitemap | Contact