[aerogear-dev] WebPush - register/create-channel
daniel.bevenius at gmail.com
Tue Dec 2 02:40:32 EST 2014
>Not sure I get why that is not created on default. When I am not doing the
create-channel, an 'application' (e.g. curl or UPS) has no location to send
a >payload for the device, right?
My understanding is that the device registers not the application, which
for example could be a web browser/user agent. It will then create channels
for potentially multiple applications. In the case of usage with the
Push-API, a service worker would handle the interaction with the WebPush
server and hand out channels to applications. It would also be responsible
for handling the inbound notifications, and can take different actions
depending on the state of the webapp (post it to an open window, store it,
>Can a device have multiple monitoring channels? (e.g. channels per topic,
like #Rihanna #ZZtop #ACDC ? Can a device 'un monitor' ?
I think that an application would create separate channels for topic it
Not sure about unmonitoring. I've not see anything about that (unless I
completely missed it)
On 1 December 2014 at 17:49, Matthias Wessendorf <matzew at apache.org> wrote:
> after performing register, I get URIs for my channel/monitor, like:
> [streamid:3] ChannelLink:
> webpush/7df2add5-ec4b-42a2-805f-5f8fcf8faa96/channel, MonitorLink:
> I wonder why I do have to explictly create the channel?
> create-channel webpush/7df2add5-ec4b-42a2-805f-5f8fcf8faa96/channel
> Not sure I get why that is not created on default. When I am not doing the
> create-channel, an 'application' (e.g. curl or UPS) has no location to send
> a paylload for the device, right?
> Can a device have multiple monitoring channels? (e.g. channels per topic,
> like #Rihanna #ZZtop #ACDC ? Can a device 'un monitor' ?
> Thanks :-)
> Matthias Wessendorf
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the aerogear-dev