Thank you for reply,
On Wed, 16 May 2001 13:20:02 +0200
"Andreas Mueller" <[EMAIL PROTECTED]> wrote:
> Am I right that you receive a message and re-use it for the reply?
Yes.
And the code works with Softwired iBus Message server.
The exception backtrace appears when a subscriber makes a reply.
I'm sure that a subscriber receives a topic.
My publishReply method is below.
I wonder if I make some mistake...
private void publishReply(ObjectMessage msg, Serializable reply)
throws JMSException {
try {
Topic replyTopic = (Topic) msg.getJMSReplyTo();
TopicPublisher publisher = getPublisher(replyTopic);
msg.setObject(reply);
publisher.publish(msg);
} catch (JMSException e) {
throw e;
}
}
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/