Hi Isomorphic,
I have a simple comprehension question: If a server DMI receives a single operationType="custom"-request, what is the default behavior w.r.t to RPCManager-TransactionPolicy and these docs?
Is a operationType="custom" always treated as change-operation in TransactionPolicy.ANY_CHANGE, so will there be a transaction from the start of the DMI?
Will new DSRequest()s using the rpcManager from incomingRequest.getRPCManager() always be part of a transaction?
Background: I have a operationType="custom"-request doing some aggregation (merging entries together). If there in some late step something goes wrong, I want all changes to be rolled back on return new DSResponse().setFailure().
Thank you & Best regards
Blama
I have a simple comprehension question: If a server DMI receives a single operationType="custom"-request, what is the default behavior w.r.t to RPCManager-TransactionPolicy and these docs?
Is a operationType="custom" always treated as change-operation in TransactionPolicy.ANY_CHANGE, so will there be a transaction from the start of the DMI?
Will new DSRequest()s using the rpcManager from incomingRequest.getRPCManager() always be part of a transaction?
Background: I have a operationType="custom"-request doing some aggregation (merging entries together). If there in some late step something goes wrong, I want all changes to be rolled back on return new DSResponse().setFailure().
Thank you & Best regards
Blama
Comment