InvalidDestinationException: Mismatched destination properties for destination with name=topic1

"Rajiv Kanaujia" <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
For non-durable subscriber, A MessageConsumer can be created via a 
TopicSession.
Example: consumer = 
((javax.jms.TopicSession)m_session).createSubscriber((Topic)destination,null,true);
When I try to create one for topic1, I get follwoing exception. Any clue 
what is going wrong?

EXCEPTION javax.jms.InvalidDestinationException: Mismatched destination 
properties for destination with name=topic1
       at 
org.exolab.jms.messagemgr.ConsumerManagerImpl.getDestination(ConsumerManagerImpl.java:772)
       at 
org.exolab.jms.messagemgr.ConsumerManagerImpl.createConsumer(ConsumerManagerImpl.java:277)
       at 
org.exolab.jms.server.ServerSessionImpl.createConsumer(ServerSessionImpl.java:310)
       at 
org.exolab.jms.server.net.RemoteServerSession.createConsumer(RemoteServerSession.java:224)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at 
org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:553)
       at org.exolab.jms.net.orb.DefaultORB$1.run(DefaultORB.java:511)
       at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown 
Source)
       at java.lang.Thread.run(Thread.java:534)






-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.