One solution could be to configure the kagent using spring. Getting a reference to the kagent bean should be trivial.

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Thu, May 12, 2011 at 10:30 AM, Riyaz Saiyed <Riyaz.saiyed@emirates.com> wrote:
Hi,

Is it possible to look-up for registered knowledge agent?

Basically, I want to register the agent on sever start-up via start up
listener. This agent will connect to remote guvnor server through which I
will manage application rules.

For any incoming request, I’ll look up for the agent, get knowledge base,
create new stateless session and invoke execute method on that session
object for passed request parameters.

Please let me know if any one has better idea/design to achieve this.

Thanks,
Riyaz



--
View this message in context: http://drools.46999.n3.nabble.com/Look-up-for-KnowledgeAgent-tp2931764p2931764.html
Sent from the Drools: User forum mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users