Hi

I have a process which puts a message on a queue and then subscribes to a
topic awaiting an answer.  When it gets the answer, it tries to close the
topic, which it does successfully, but I quickly get:

2002-07-25 08:11:11,031 WARN  [org.jboss.mq.SpyMessageConsumer] Message
consumer closing due to error in listening thread.
javax.jms.IllegalStateException: Session is closed.
        at org.jboss.mq.SpyMessage.doAcknowledge(SpyMessage.java:536)
        at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:493)
        at java.lang.Thread.run(Thread.java:536)
2002-07-25 08:11:11,031 DEBUG [org.jboss.mq.SpyMessageConsumer] Message
consumer closing.

When I close the topic, I do a 

topicSession.close()
topicConnection.close()

What am I doing wrong, if anything?

Eric Kaplan
Armanta, Inc.
55 Madison Ave.
Morristown, NJ  07960
Phone: (973) 326-9600

<<attachment: winmail.dat>>

Reply via email to