🎴 Flashcard Mode
Java Web Technologies: JSP, Servlets & Application Servers
Card1 / 19
Mastered0
Review0
QuestionClick to flip
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?
AnswerClick to flip back
A
The managed server to which the client has a TCP connection after creating a new connection from the connection factory.
💡 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.