On 06/08/2016 10:39 AM, Scott Marlow wrote:
For those not reading [1], we also can support one of the predefined
write-concern constants via:
<mongo ... write-concern="ACKNOWLEDGED">
...
</mongo>
I would choose this approach, and support the predefined constants.
Exposing MongoDB internal API details in the configuration seems to be
overkill, and put extra effort on your part when they change the API.
Best regards,
Jesper