I am getting a 'no route' error when I publish to a topic which does not yet have a subscriber. This problem is exactly the same as this: http://markmail.org/message/qmtayydcdlacgl7f?q=qpid+%22no+route%22+error +312&page=1&refer=zj4xsyfskjqgv5wb
In the link, someone advises that Qpid specific session should be used instead of JMS specific session. When topic producer is created (createProducer(...)), pass in false as the mandatory flag. Two problems: Where do I use the qpid specific session? Is there a qpid specific version of TopicSession? Secondly, I am creating topic producer by using "session.createPublisher(mytopic)". I haven't found any document which describes the difference between .createPublisher and .createProducer. Which is the right one to use? Thanks
