Is it possible to use '$' (double-bytes dollar) as a bind variable name?

Solution In Progress - Updated -

Issue

I want to use '$' (double-bytes dollar) as a bind variable name like the following

rule "GoodBye"
    when
        Message( status == Message.GOODBYE, $メッセージ : message )
    then
        System.out.println( $メッセージ );
end

and use java dialect, but rule compilation fails with the error messages like:

Rule Compilation error $メッセージ cannot be resolved to a variable

Is it possible to use '$' (double-bytes dollar) as bind variable name?

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.