bsf.declareBean( "message", message, message.getClass() );
bsf.declareBean( "config", config, config.getClass() );
bsf.declareBean( "payloadProxy", payloadProxy, payloadProxy.getClass() );
bsf.declareBean( "logger", logger, logger.getClass() );
// NOTE: cannot use eval here since it does not work for all engines (jython in particular)
bsf.exec( language, source, 0, 0, getScript(message) );
}
catch (BSFException bsfe)
{
final String error = "Exception caught while processing script: '" + source + "'" ;
if (logger.isDebugEnabled())