That shouldn’t deadlock, as it’s a read that won’t need the exclusive management lock that the thread controlling the deploy controls.
It won’t see the correct value at boot though, or in any composite op (e.g. CLI batch) where the attribute you are reading has been modified in the same overall op as the deploy step. That change is not visible to other threads until the op that made it commits. And it won’t commit until deploy completes.
_______________________________________________
wildfly-dev mailing list
wildfly-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/wildfly-dev
--
Brian Stansberry
Manager, Senior Principal Software Engineer
JBoss by Red Hat