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

ActivationSpec and supportsDynamicUpdates #121

Open
fcorneli opened this issue Jul 18, 2021 · 0 comments
Open

ActivationSpec and supportsDynamicUpdates #121

fcorneli opened this issue Jul 18, 2021 · 0 comments

Comments

@fcorneli
Copy link

The JCA specs mentions the support of dynamic updates on configuration properties of ActivationSpec, but does not mention AFAIK how the resource adapter should behave related to the endpointActivation.
When a property on the ActivationSpec is changed at runtime, will the resource adapter walk through an endpointDeactivation-endpointActivation sequence or does the underlying worker needs to handle this itself?
And how to retrieve the active ActivationSpec bean instance at runtime from within a certain application? Should the resource adapter do a self-registration within JNDI so the application can access this?

The idea is that I provide a sane default configuration for my endpoints at deployment time, but that I can change the configuration at run-time without the need to restart my application. For example, when the Ethereum client node address changes.
See also:
https://github.com/e-Contract/ethereum-resource-adapter

Could someone highlight how to implement dynamic updates on ActivationSpec?

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