Since I just figured it out, I thought it might be helpfull to others too:
<cfadmin action="updateGatewayEntry" type="server" password="server-admin-password"
startupMode="automatic"
id="name-of-the-event-gateway"
class=""
cfcpath="railo.extension.gateway.DirectoryWatcher"
listenerCfcPath="path.to.your.DirectoryListener"
custom='#{
directory="/private/etc/apache2/"
, recurse=false
, interval=2000
, extensions="conf"
, changeFunction="onChange"
, addFunction="onAdd"
, deleteFunction="ondelete"
}#'
readOnly=false
/>
<!--- remove the directorylistener --->
<cfadmin action="removeGatewayEntry" type="server" password="server-admin-password"
id="name-of-the-event-gateway" />
For all other documentation regarding the Railo event gateways, please see the Railo documentation wiki.
| Viewed 4498 times
#1 by Rodion Bykov - October 12, 2010 at 7:07 PM
are there any other event gateways to work in Railo ? I'd like to use messaging with Flex application in front and Railo CFC on server side.
Thanks !
#2 by Paul Klinkenberg - October 12, 2010 at 8:16 PM
For flex, you can use Railo, as it has support for all the blazeDS functionality, like in Adobe Coldfusion (/flashservices/gateway and /flex2gateway). So you can call any cfc from flex by using remoting.
Hope it helps, kind regards, Paul