[jboss-jira] [JBoss JIRA] (WFLY-11645) A way to prevent automatic changes of affinity when invoking clustered beans

Brian Stansberry (Jira) issues at jboss.org
Thu Jan 24 20:37:00 EST 2019


     [ https://issues.jboss.org/browse/WFLY-11645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list