Bugs item #672557, was opened at 2003-01-22 17:00
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=672557&group_id=22866
Category: JBossMQ
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: E.Sriram (esriram)
>Assigned to: Adrian Brock (ejort)
Summary: QueueSession.createQueue(name) does not work
Initial Comment:
I looked up the QueueConnectionFactory.
Created a QueueConnection.
Created QueueSession.
Now I tried to create a Queue using the
QueueSession.createQueue(queueName).
This does not work and throws an exception.
The full stack trace is
org.jboss.mq.SpyJMSException: Cannot get the Queue from
the provider
at
org.jboss.mq.SpyConnection.createQueue(SpyConnection.java:189)
at
org.jboss.mq.SpyQueueSession.createQueue(SpyQueueSession.java:92)
at
com.adventnet.itcf.transport.jms.JMSUtil.createSession(JMSUtil.java:60)
at
com.adventnet.itcf.transport.jms.JMSClientUtil.startDistributor(JMSClientUtil.java:21)
at
com.adventnet.itcf.transport.jms.JMSTransportClient.<init>(JMSTransportClient.java:36)
at
com.adventnet.itcf.transport.jms.JMSTransportClient.<clinit>(JMSTransportClient.java:21)
at
com.adventnet.itcf.start.ClientStartUp.startITCFClient(ClientStartUp.java:50)
at com.Test.main(Test.java:32)
linked exception is:
javax.jms.JMSException: This destination does not
exist !
at
org.jboss.mq.server.JMSDestinationManager.createQueue(JMSDestinationManager.java:684)
at
org.jboss.mq.server.JMSServerInvoker.createQueue(JMSServerInvoker.java:150)
at
org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java:263)
at java.lang.Thread.run(Thread.java:536)
linked exception is:
javax.jms.JMSException: This destination does not
exist !
at
org.jboss.mq.server.JMSDestinationManager.createQueue(JMSDestinationManager.java:684)
at
org.jboss.mq.server.JMSServerInvoker.createQueue(JMSServerInvoker.java:150)
at
org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java:263)
at java.lang.Thread.run(Thread.java:536)
--E.Sriram
----------------------------------------------------------------------
>Comment By: Adrian Brock (ejort)
Date: 2003-03-14 23:00
Message:
Logged In: YES
user_id=9459
Read the javadocs for
QueueSession.createQueue(String)
This method does not create queues,
it is an alternate method for creating a javax.jms.Queue object
using the "Provider specific name".
The physical queue must already exist.
Regards,
Adrian
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=672557&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development