Push notification 是否可以将WSO2 ESB/AS和推送通知与Cometd一起使用?

Push notification 是否可以将WSO2 ESB/AS和推送通知与Cometd一起使用?,push-notification,wso2,push,wso2esb,cometd,Push Notification,Wso2,Push,Wso2esb,Cometd,是否可以从部署在WSO2 AS中的web应用程序向希望初始化针对重定向到AS中web应用程序的ESB代理请求的长轮询连接的客户端发出推送通知 流程可以是这样的: Client long polling request (Browser) -> WSO2 ESB proxy -> WSO2 AS web application (Cometd) Asynchronously, WSO2 AS web application sends push notifications to th

是否可以从部署在WSO2 AS中的web应用程序向希望初始化针对重定向到AS中web应用程序的ESB代理请求的长轮询连接的客户端发出推送通知

流程可以是这样的:

Client long polling request (Browser) -> WSO2 ESB proxy -> WSO2 AS web application (Cometd)

Asynchronously, WSO2 AS web application sends push notifications to the client through the ESB proxy.

谢谢

我自己回答。这是可能的。我使用Cometd2.xservlet和浏览器作为客户端,通过javascript启动连接

下面是一个非常清楚的例子,说明如何做到这一点: