I hava a message consumer created like this
... ...
  | consumer = session.createConsumer(destination);
  | consumer.setMessageListener(this);
  | ... ...     
the code run successful on startup(as a spring bean).but when close at server 
shutdown using code:
... ...
  | consumer.close();
  | ... ...
there raise an Exception:
2007-02-08 10:56:21,197 ERROR [postRegist.JmsListener] Exception when close JMS 
consumer.
  | javax.jms.JMSException: The subscription had not been previously registered
  |         at 
org.jboss.mq.server.ClientConsumer.removeSubscription(ClientConsumer.java:248)
  |         at 
org.jboss.mq.server.JMSDestinationManager.unsubscribe(JMSDestinationManager.java:548)
  |         at 
org.jboss.mq.server.JMSServerInterceptorSupport.unsubscribe(JMSServerInterceptorSupport.j
  | ... ... 

According to the log , the server has successfully startup,all queue been 
inited and my jms listener been created successfully too. the above Exception 
raised only at the server shutdown.

What is the problem ?

Regards

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012813#4012813

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012813
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to