Aaron Long
2014-03-19 13:54:33 UTC
Does anybody have a working configuration for the the latest snapshot build
of events-push?
The snapshot is using the reactor library and I've seen a few different
variants of the configuration (like in the grailsTodo application). I can't
for the life of me get events over to the browser using the latest snapshot
version.
We have a fully working version using the older platform-core stuff, but
that doesn't play well with Grails 2.3.
My current configuration looks like this:
includes = ['push']
doWithReactor = {
reactor('grailsReactor') {
ext 'browser', ['processService.update': true]
}
}
The old configuration looked like this:
events = {
'processService.update'(namespace: 'browser', browser: true)
}
I'm firing the event in the same exact way, but it doesn't make it to the
browser.
Rgds,
Aaron
of events-push?
The snapshot is using the reactor library and I've seen a few different
variants of the configuration (like in the grailsTodo application). I can't
for the life of me get events over to the browser using the latest snapshot
version.
We have a fully working version using the older platform-core stuff, but
that doesn't play well with Grails 2.3.
My current configuration looks like this:
includes = ['push']
doWithReactor = {
reactor('grailsReactor') {
ext 'browser', ['processService.update': true]
}
}
The old configuration looked like this:
events = {
'processService.update'(namespace: 'browser', browser: true)
}
I'm firing the event in the same exact way, but it doesn't make it to the
browser.
Rgds,
Aaron