Albert,

This @Property is defined in this file (http://svn.apache.org/repos/asf/servicemix/smx3/trunk/deployables/serviceengines/servicemix-script/src/test/resources/spring.xml). Note that this file is for starting ServiceMix with a static configuration for testing purposes (that's what all the <sm:xyz/> elements are for), but it should give you an idea how you use the @Property to add the ScriptHelpers in your xbean.xml for JBI deployment as well.

Regards,

Gert

Albert.Deinbeck wrote:
Hello all,

could someone please point me to where the @Property annotation from this
example is defined? I cannot make groovy-eclipse compile it without telling
him.

class GroovyExchangeProcessor implements ExchangeProcessor {

    @Property ScriptExchangeHelper exchangeHelper;

        def void start() {
            println "Starting";
        }

...

Source: http://servicemix.apache.org/servicemix-script.html

Thanks,
Albert

Reply via email to