how to trigger notification from other framework in atmosphere (comet)?

Posted by Sean Xiong on Stack Overflow See other posts from Stack Overflow or by Sean Xiong
Published on 2010-06-18T08:17:27Z Indexed on 2010/06/18 8:23 UTC
Read the original article Hit count: 242

Filed under:
|
|

basically i have read some samples, but all are self contained in one servlet. such as: use doGet to establish the long polling connection, and then use doPost to trigger the event to notify all suspended connections.

Here is my question: I have other web actions programming in spring mvc, in the spring mvc controller a user post a message via /message/post, how can I make this action to trigger the atmosphere handler to notify the suspended connections?

© Stack Overflow or respective owner

Related posts about java

Related posts about comet