Bugs item #672551, was opened at 2003-01-22 20:47
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=672551&group_id=22866

Category: JBossMQ
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: E.Sriram (esriram)
Assigned to: Nobody/Anonymous (nobody)
Summary: javax.jms.InvalidDestinationException not being thrown.

Initial Comment:
I have my application run along with JBoss (server).
I have a remote client communicating with the server
via JMS   (UIL).

The client will create a temporary queue.
The client will register itself with the server for a
notification passing the temporary queue as a parameter.
The server will keep sending notifications (sending a
message) to this temp queue.

Now the client is shutdown. 
The server will still keep sending messages to the temp
queue.
 Now when a message is sent by the server a
JMSException is thrown with a message that "this
destination does not exist". 

The stack trace is 
 javax.jms.JMSException: This destination does not
exist !21:42:46:632: [syserr]  at
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:392)
21:42:46:632: [syserr]  at
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:375)
21:42:46:632: [syserr]  at
org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:137)
21:42:46:632: [syserr]  at
org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:233)
21:42:46:633: [syserr]  at
java.lang.Thread.run(Thread.java:536)


There is a exception provided in the JMS API for this case.
Instead of throwing a JMSException an
InvalidDestinationException must be thrown.




thanks,
--E.Sriram

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=672551&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to