[infinispan-issues] [JBoss JIRA] Updated: (ISPN-509) Enable listeners to be hooked to Hot Rod servers

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Thu Nov 4 12:38:01 EDT 2010


     [ https://jira.jboss.org/browse/ISPN-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-509:
----------------------------------


Workaround: As hinted in the jira description, you can create your own runnable main that starts Hot Rod and hooks up listeners programmatically to the corresponding CacheManager/Cache. You can find plenty of examples on how to start a Hot Rod server programatically in the Java Hot Rod client code (http://anonsvn.jboss.org/repos/infinispan/trunk/client/hotrod-client/). You'd need to deal with command line options, or you can try calling to org.infinispan.server.core.Main with the parameter list.

> Enable listeners to be hooked to Hot Rod servers
> ------------------------------------------------
>
>                 Key: ISPN-509
>                 URL: https://jira.jboss.org/browse/ISPN-509
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Cache Server
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: 5.1.0.BETA1, 5.1.0.Final
>
>
> Enable Hot Rod servers to have listeners injected.
> At the moment, this would require some code to programatically start a Hot Rod server and associate the listener. This would not be nice cos such program would need to deal with command line parameters....etc.
> So, we need a way to put listeners into Hot Rod server. I can think of two options:
> - Enable listeners to be set via configuration XML.
> - Enable Hot Rod to be passed listeners via command line parameter and get Hot Rod to instantiating them.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list