Hey Pedro, just like with your other post A Blue/green deployment with Payara Micro - the functionality you’re describing falls within our Payara Enterprise capabilities rather than what’s available in the Community Edition.
please reach out to me if you need any more info or if you’d like to explore Payara Enterprise.
thanks,
Dominika at the Payara Community Team