]
Brian Stansberry updated WFLY-11645:
------------------------------------
Issue Type: Feature Request (was: Enhancement)
Actually this is not an Enhancement, it is a Feature Request, as it involves a new form of
user control of behavior.
A way to prevent automatic changes of affinity when invoking
clustered beans
----------------------------------------------------------------------------
Key: WFLY-11645
URL:
https://issues.jboss.org/browse/WFLY-11645
Project: WildFly
Issue Type: Feature Request
Components: Clustering, EJB
Reporter: Jan Martiska
Priority: Major
When invoking a clustered bean, a user might want to set an affinity so that the
invocations go to a particular node. This is done via EJB client APIs:
{noformat}
EJBClient.setStrongAffinity(beanProxy, new NodeAffinity("node1"));
{noformat}
however, if the bean is clustered, after each invocation, the affinity is automatically
reset to a ClusterAffinity. So the user would have to apply this again before each
invocation. There should be a way to tell EJB client to not do this.