So here's what we end up doing.

Updated the camel route coming into switchyard to have a bean in the middle.
This bean is basically a pass-through, but it has a static instance of the
"global" class we need.
As the java object passes thought the bean, we assigned our "global" class
to it, and then we can use it in "thens" by doing something like
ourObject.ourGlobal.foo();

Kind of a hack as your java objects need setter/getter for the "global", but
for now, it works.





--
View this message in context: 
http://drools.46999.n3.nabble.com/Null-pointer-exception-when-using-global-in-rdrl-6-0-1-F-tp4027876p4027910.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

Reply via email to