Closed scottmarlow closed 8 years ago
I've tried adding properties in a following way:
<properties name="default">
<property name="writeConcern" value="ACKNOWLEDGED"/>
</properties>
But I cannot use name attribute, because it is used to name profile. Seems that we need to use different name for "name" attribute. Or is there a way to not require a profile name for "property" element?
Could you try something like the following:
<properties name="default">
<property property-name="writeConcern" property-value="ACKNOWLEDGED"/>
</properties>
Yeah something like that will work. Will still need to add name="default" to the property though.
In the interest of moving forward, I think you should do what works and then we can get feedback on improvements that are possible before the changes are merged into WildFly.
Sounds right
@scottmarlow, did you introduce the requirement for name attribute in every element or is it coming from somewhere else? I'm currently getting "duplicate element exception" when adding two properties with name="default". Changing the name in one of them removes the problem, but that isn't correct as far as I understand.
I didn't purposely introduce the "duplicate element exception", that seems to come in when we allow multiple NoSQL connection profiles per NoSQL subsystem (that we needed "name" and it seems to be a requirement that it be unique).
Please close this issue when your done with it. The NoSQL unit tests also passed for me locally.
Add connection properties for MongoDB subsystem, so that "writeConcern" can be specified.