Multiple choice technology web technology

An external JMS client is connected to a 2 managed server weblogic cluster using a Connection Factory that has server affinity enabled. The client is putting messages to a distribution destination (dd) deployed to the cluster. Which managed server(s) dd member will get the messages?

  1. The managed server which was used by the client for JNDI lokkup of the connection factory

  2. The managed server to which the client has a TCP connection after creating a new connection from the connection factory.

  3. Both the managed servers and in random order

  4. Only to One of the managed server and that can be in any order

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

With server affinity enabled, JMS client connections stick to the managed server where the Connection Factory was first looked up. All messages from that client go to the distribution destination member on that same server. The affinity is based on the TCP connection established after creating the connection from the factory.