Hi !
How can one get the exception -javax.jms.InvalidDestinationException ?
I know that I have to make my application use some invalid queue or topic. I could use an invalid queue and hence, got this exception.
However, how can I use some invalid topic ?
I am using WebSphere 4.0.3.
It seems the topics are created dynamically.
Topic creation So if I give an arbitrary name for a topic while using TopicSession.createTopic(
String topicName) it gives me a topic created dynamically.
If I use static topics (created as some JMS Administered objects) I get the exception - javax.naming.NameNotFoundException.
My question is how to use some invalid topic and get this javax.jms.InvalidDestinationException ?
Thanks
-Saurav