Yesterday, I got stuck with JMS implementation. Why the JMS didn't listen properly to get asynchronous messages. When I take a look inside the code, then I guess the problem in the listener function. I have read some pattern and I know that Observer pattern is more likely Listener. Finally I got good old document stuff about Observer pattter and how to implement in Java. http://www.javaworld.com/javaworld/jw-10-1996/jw-10-howto.html?page=1
Damn it, I found that my real problem is not in Listener functionality but it's my mistake that didn't set the listener with proper class :p
Damn it, I found that my real problem is not in Listener functionality but it's my mistake that didn't set the listener with proper class :p
No comments:
Post a Comment