]
Brian Stansberry reassigned WFLY-11645:
---------------------------------------
Assignee: (was: Jason Greene)
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: Enhancement
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.