简体   繁体   English

是否可以在Cometd中使用WSO2 ESB / AS和Push通知?

[英]Is it possible to use WSO2 ESB / AS and Push notifications with Cometd?

Is it possible to make push notifications from a web application deployed in WSO2 AS to a client who wants to initialize the long polling connection requesting against an ESB proxy that redirects to the web application in the AS? 是否可以从部署在WSO2 AS中的Web应用程序向要初始化长轮询连接的客户端发出推送通知,该客户端请求针对重定向到AS中的Web应用程序的ESB代理进行请求?

The flow could be something like that: 流可能是这样的:

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.

Thanks! 谢谢!

I answer myself. 我回答自己。 It is possible. 有可能的。 I got it with a Cometd 2.x servlet and a browser as a client who starts the connection via javascript. 我使用Cometd 2.x Servlet和作为客户端的浏览器通过JavaScript启动连接。

Here's a very clear example about how to make it: http://docs.cometd.org/tutorials/ 这是一个有关如何制作的非常清楚的示例: http : //docs.cometd.org/tutorials/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以在 ExpoKit 中使用交互式推送通知? - Is that possible to use Interactive Push Notifications in ExpoKit? 是否可以使用GCM在不同的应用程序之间发送推送通知? - Is it possible to use GCM to send push notifications between different applications? 是否可以在 iOS 上自定义推送通知 - Are Custom Push notifications possible on iOS 在没有推送通知的情况下使用解析 - Use Parse without push notifications 使用Meraki向应用程序发送推送通知 - Use Meraki to send push push notifications to the app 使用来自推送Web推送通知的数据 - Use data from Push in Web Push Notifications 是否可以仅使用 WonderPush REST API 向 Android 设备发送推送通知而不使用他们的 SDK? - Is it possible to use just the WonderPush REST API to send Push notifications to Android devices without using their SDK? 是否可以从rails应用程序推送浏览器通知 - Is it possible to push browser notifications from a rails app Android Library是否有可能接收推送通知? - Is it possible for an Android Library to receive push notifications? 是否可以在IOS上第二次请求推送通知? - Is it possible to request for push notifications for a second time on IOS?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM