开发者

Spring JMS DefaultMessageListener - onMessage() not getting invoked

I am trying to implement a point-to-point messaging system using TIBCO EMS and Spring framework.

I am able to write a message to the queue, but the开发者_运维技巧 problem I am facing is in consuming the message.

I have written a Java class that implements the Spring DefaultMesssageListener class and used that within the applicationContext.xml file which is as shown below:


For consuming the message I have written a Java class which reads the above applicationContext.xml file. But, when I start the program I am not getting any error but at the same time message is not getting consumed.

Thank you, Raghu


You missed something important in configuring the queue, the listener, or the client. Review this and see what you missed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜