[wildfly-dev] A few questions about the NoSQL MongoDB client subsystem configuration...

Jesper Pedersen jesper.pedersen at redhat.com
Wed Jun 8 10:44:29 EDT 2016


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




More information about the wildfly-dev mailing list