Hi Ant
The best way to resolve this is to use JSR-223 instead of Apache BSF
v2 as JSR-223 script engines have an API to see if the engine is
threadsafe.
BSF version 3 is implementing JSR-223 and there's a beta1-SNAPSHOT
available now but no proper release yet. I would have quite liked
Synapse 1.0 to use BSF v3 but didn't want to get in the way of the
release. We probably could get a BSF v3 beta1 release out quite
quickly if Synapse said it would use it. Is there an interested in
doing that?
Since we are not tied too much into BSF v2 anyway, I think it would be
good to move to V3. So if the BSF folks could get a beta1 release out in
the next couple of weeks, we could move our code to the V3 beta1
snapshot in the meantime and check how we could use it.
asankha
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]