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
Kind of a hack as your java objects need setter/getter for the "global", but
for now, it works.
View this message in context:
Sent from the Drools: User forum mailing list archive at Nabble.com