On 28/01/2014, SrjTx <clickthex(a)yahoo.com> wrote:
Thanks for the reply.
I have read that section of the docs a multiple times.
Unfortunately, I do not have a handle to the ksession to call setGlobal on.
My knowledge session is created/owned by KIE-WB/Switchyard and we are
looking for an API so that I can get a handle to something on which I can
I've had a quick look at
and it seems to me that you need to define
<global from="" to=""/>
I suspect that "from" should be some Java expression returning the
global object and "to" the global's DRL name, perhaps from the
SwitchYard Context. But the author doesn't provide any examples and no
One other approach you might take is to install a global via a
high-priority one-shot rule:
Lastly, you can simply use a static object in some class:
Globals.foo.store( whatever );
Ideally, I need something like
which ever of those I can call setGlobal on.
FYI, our KIE stuff is container managed via maven integration with kie-wb -
we do not control the lifecycle of any KIE objects kb, package, session,
View this message in context:
Sent from the Drools: User forum mailing list archive at Nabble.com
rules-users mailing list