• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need answer for this q from IBM 154

 
Zoran Djuric
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
18). Program X and program Z communicate asynchronously through JMS messaging. Therefore, a request message from X to Z and a response message from Z to X are not automatically linked in any way. Which two of the following describe how program X can associate a message it consumes with a message it previously sent?
(Select 2)
A. Program X specifies a URL and port in the JMSReplyTo header field of the request message and program Z the sends the response message to URL and port specified in the JMSReplyTo field.
B. Program X sets the JMSCorrelationID header field of the request message and Program Z returns the same value in the JMSCorrelationID header field of the response message.
C. Program X specifies the JNDI name of Program Z in the message selector associated with the listener for the response to accept only messages from program Z.
D. Option B, but program X additionally sets the message selector associated with the listener for the response to accept only messages with the desired JMSCorrelationID.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic