Current implementation of XATerminator.recover (either for JTA or JTS) does not permit combining flags to use.
Flags are expected to be combined as their values are designed to use bitwise operators. Especially | is handy for starting and ending the recover scan in once.
Currently we need to call
The way would be ability to call the recover like this