Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to improve transactional behavior #1

Open
OndroMih opened this issue Mar 17, 2017 · 1 comment
Open

Try to improve transactional behavior #1

OndroMih opened this issue Mar 17, 2017 · 1 comment

Comments

@OndroMih
Copy link
Member

Currently, transactions are bound to a thread.

Is it possible to begin a tx in one thread and commit in another one?
Is it possible to move the transaction context using the contextService around?
Is it possible to bind execution of the callbacks to a single thread if not possible to move the transaction around? (e.g. by a custom managed executor?)

@OndroMih
Copy link
Member Author

Experimented with moving Tx context via contextService and use UserTransaction to begin and commit in different threads, in [try_transaction_propagation}(https://github.com/OndrejM-demonstrations/Reactive-CargoTracker/tree/try_transaction_propagation) branch.

It didn't work, tx was not active in another thread, even within the contextualProxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant