As you figured out, the queued requests do not contain the delete, so an automatic transaction is not initiated with the default transaction policy, as per docs.
You can switch the policy to ALL just for this HttpRequest or system-wide. In this case, yes, setRPCManager() is required to make the manually initiated DSRequest join the transaction. This is always required for a manually initiated DSRequest to join an auto-transaction.
You would not normally use the DSTransaction APIs if you are already in an HttpRequest lifecycle where auto-transactions are in use; this API principally exists for standalone usage (outside of a servlet engine). However, for such usage, yes, the APIs that the docs show as required are required. We might simplify this in the future however.
You can switch the policy to ALL just for this HttpRequest or system-wide. In this case, yes, setRPCManager() is required to make the manually initiated DSRequest join the transaction. This is always required for a manually initiated DSRequest to join an auto-transaction.
You would not normally use the DSTransaction APIs if you are already in an HttpRequest lifecycle where auto-transactions are in use; this API principally exists for standalone usage (outside of a servlet engine). However, for such usage, yes, the APIs that the docs show as required are required. We might simplify this in the future however.
Comment