Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16390

[GSS](7.2.z) EJBCLIENT-319 - Update affinities on return in NamingEJBClientInterceptor

XMLWordPrintable

      NamingEJBClientInterceptor allows discovering destinations for invocations based on the list of URLs in the JNDI InitialContext variable PROVIDER_URL. If the invocation has a proxy with (strong affinity, weak affinity) = (NONE, NONE), this interceptor will be used to choose a destination over DiscoveryEJBClientInterceptor.

      Like DiscoveryEJBClientInterceptor, NamingEJBClientInterceptor calls DiscoveryEJBClientInterceptor.setupSessionAffinities() to adjust affinity values in specific cases. However, whereas DiscoveryEJBClientInterceptor does this after the invocation has returned, NamingEJBClientInterceptor does it before the invocation goes out. This means that any changes to affinity made on the server are not so processed.

              rachmato@redhat.com Richard Achmatowicz
              istudens@redhat.com Ivo Studensky
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: