Hello,

I have problem (probably one that I am causing myself.) with JMS and Orion 
1.0.

I have successfully created a Topic that I can publish and subscribe to 
messages without problem.  For some of the messages I would like the 
subscribers to reply to a temporary topic.  To do this I attempted to a 
TopicRequestor, however when I attempt to create the TopicRequestor I 
receive a JMSException of "Invalid topic".

Since the TopicRequestor did not funtion as expected initially I decided to 
take a look at the TopicRequestor class and see where the exception occurs. 
 Below is the code a code snippet from the constructor of TopicRequestor:

         tempTopic = session.createTemporaryTopic();
         subscriber = session.createSubscriber(tempTopic);

The exception occurs when executing the createSubscriber method.  The exact 
exception is "InvalidDestinationException: Invalid Topic".  I have checked 
to make sure the value of tempTopic is not null, so something is being 
created in the createTemporaryTopic method.

Has anyone else experienced something like this, or does anyone have an 
idea of what I've done wrong?

Thanks,
Jon...


Reply via email to