Unfortunately you cannot. :/
I don't even know why these get/sett methods are there since they cannot
be used in their current form..
> for example like public void setQueryValueExtractors(Set
> queryValueExtractors) in JdbcConnector.
> I tried this config
>
> <connector name="JdbcConnector"
> className="org.mule.providers.jdbc.JdbcConnector">
> <properties>
> <container-property name="dataSource"
> reference="WonderlandDataSource" />
> <list name="queryValueExtractors">
> <entry
> value="com.omnys.mule.util.SystemPropertyExtractor " />
> </list>
> .....
This should be possible but unfortunately the silly Digester cannot map a
List into a Set and keels over. Since this is not accessible through the
config, using a List as API would likely work fine as well (since there is
still the cache for fast runtime lookups) BUT is not the real solution
since you would now override the built-in queryExtractors. :(
IMHO the real solution would be to have built-in and user-supplied
extractors..or did you really want to override the built-in ones?
-h
---------------------------------------------------------------------
To unsubscribe from this list please visit: