ibm mobilefirst - Using topic in WL.Server.readSingleJMSMessage leads to class cast exception -


JMS comes with two flavors: P2P message (queue) or published / subscription (topics). I wonder if it is not symmetric in JMM adapter. Qi works in two ways, only writing (publishing) works for reading and writing subjects, reading from the topic (subscribing, non-sustainable ways) fails when the message is published on the WL adapter is. The error is logged:

  com.ibm.ws.sib.api.jms.impl.JmsTopicImpl can not be entered on javax.jms.Queue FWLSE0101E: Reason: empty   

The document does not show any limitation on using topics, thus for me the concept of "destination" in JMS is useless.

Reading from a topic in the JVM adapter is not supported, the documentation will need to be updated either Include it in or make it more clear.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -