mulesoft/mongo-connector — Issue #6: query-attributes in find-objects-using-query-map don't support expressions
Author: cskinfill
Created: 2011-12-15 14:37:16+00:00
State: open

I tried the following configuration snippet

And got the following error
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '#[groovy:new org.bson.types.ObjectId(payload.seller.id)]' is defined

Looks like using the value-ref caused spring to look for a bean with the name '#[groovy:new org.bson.types.ObjectId(payload.seller.id)]' and if I use value instead of value-ref the XML doesn't validate.