I think changing definition of your attribute to:
protected static final PropertiesAttributeDefinition PROPERTIES = new
should do what you want.
This is only proper way to have unwrapped properties in xml representation.
What you ware using is old way of doing it and only works with "hand
Default behavior for this was not changed as it would break existing hand
On Wed, Jun 22, 2016 at 1:30 PM, Gytis Trikleris <gtrikler(a)redhat.com>
I’m trying to add property attribute to the mongo subsystem in order to
add custom parameters for the driver. I have looked through other
subsystems and it seems that PropertiesAttributeDefinition is normally used
for that. But I keep getting failures similar to this one
. I might be missing something trivial,
but so far couldn’t figure out what exactly. Maybe somebody has any tips on
how to use PropertiesAttributeDefinition correctly?
The commit with current changes is here:
And the branch is here:
wildfly-dev mailing list