Am I right that you receive a message and re-use it for the reply?
--
Andreas Mueller, IIT GmbH, Bremen/Germany, http://www.iit.de
SwiftMQ - JMS Enterprise Messaging System, http://www.swiftmq.com
-----Original Message-----
From: Katsuhiko Fujii <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Wed, 16 May 2001 12:54:24 +0200
Subject: [developers] java.lang.ClassCastException occurs when publish
reply message.
> Hi,
>
> I'm testing SwiftMQ working around my application and I've got
> a ClassCastException in Hashmap.
> I'm using SwiftMQ-2.0.1, Windows2000 and jdk-1.3.0_02.
> I'm sorry I have to erase some letters in this log but it's almost as
> it
> was.
>
> Do you have any suggestion to solve this problem?
>
> Below is the backtrace.
>
> java.lang.ClassCastException: java.util.HashMap
> at
> com.swiftmq.jms.ObjectMessageImpl.writeBody(ObjectMessageImpl.java:38
> )
> at
> com.swiftmq.jms.MessageImpl.writeContent(MessageImpl.java:379)
> at
> com.swiftmq.jms.smqp.ProduceMessageRequest.writeContent(ProduceMessag
> eRequest.java:59)
> at de.iit.toolset.dump.Dumpalizer.dump(Dumpalizer.java:36)
> at
> com.swiftmq.jms.ConnectionImpl.writeObject(ConnectionImpl.java:356)
> at
> com.swiftmq.jms.ConnectionImpl.performRequest(ConnectionImpl.java:373
> )
> at
> de.iit.toolset.requestreply.RequestRegistry.request(RequestRegistry.j
> ava:92)
> at
> com.swiftmq.jms.MessageProducerImpl.processSend(MessageProducerImpl.j
> ava:139)
> at
> com.swiftmq.jms.TopicPublisherImpl.publish(TopicPublisherImpl.java:76
> )
> at
> com.***.server.jms.***TopicReplyer.publishReply(***TopicReplyer
> .java:129)
> at
> com.***.server.jms.***TopicReplyer.onMessage(***TopicReplyer.ja
> va:100)
> at
> com.swiftmq.jms.MessageConsumerImpl.invokeMessageListener(MessageCons
> umerImpl.java:224)
> at
> com.swiftmq.jms.SessionImpl.doDeliverMessage(SessionImpl.java:604)
> at
> com.swiftmq.jms.SessionImpl.processObject(SessionImpl.java:652)
> at de.iit.toolset.queue.SimpleQueue.run(SimpleQueue.java:138)
>
>
> kats
>
>
> ------------------------------------------------------
> SwiftMQ developers mailing list * http://www.swiftmq.com
> To unsubscribe from this list, send an eMail to
> [EMAIL PROTECTED] and write in the body of your message:
> UNSUBSCRIBE developers <your-email-address>
> Archive: http://www.mail-archive.com/developers@mail.iit.de/
>
>
>
>
------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/