What does TopicSession.createTopic(String name) do in the JBossMQ implementation?
Can this be used reliably instead of JNDI to lookup a topic rather than messing around with extra config, appending paths etc?
JBossMQ doesn't seem to complain about it when I tried and previously the other JMS implementation I used was OK with this...
Why is it there in the standard but examples never seem to use it?
Yes, I think this is a bug. According to http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html, my application should not depend on createTopic() because it is not portable. However, I think jbossmq should at least throws an Exception tell me that jbossmq haven't implement this function, don't let me waste a lot of time to debug and find the error.