S90-08 practice question 17 of 35

Which of the following statements is false?

Full set: 100 questions
Answer options
A: Widespread use of the Messaging Metadata pattern can be seen in the emergence of many WS-* extensions that define industry standard SOAP header blocks that carry metadata.
B: Messaging frameworks and technologies need to provide support for the reading and writing of message headers or properties in order to fully support the application of the Messaging Metadata pattern.
C: The Messaging Metadata pattern is not applicable to situations where the message sender and receiver need to participate in stateful or conversational message exchanges. Correct answer
D: The Messaging Metadata pattern can support the application of patterns such as Intermediate Routing by supplementing messages with activity-specific metadata.
Correct Answer:
C. The Messaging Metadata pattern is not applicable to situations where the message sender and receiver need to participate in stateful or conversational message exchanges.
Explanation

The Messaging Metadata pattern is fundamentally about enriching a message with supplementary data (metadata) that is processed separately from the primary business data (the payload). This metadata is crucial for enabling stateful and conversational message exchanges. For instance, metadata such as correlation identifiers, session IDs, or sequence numbers are used to track and manage the state of a long-running conversation between a service consumer and provider. Therefore, the statement that the pattern is not applicable to these situations is false; in fact, it is a key enabler for them.

Why Incorrect

A: This is a true statement. The WS- (Web Services) specifications extensively use SOAP header blocks to carry metadata for functions like addressing (WS-Addressing), security (WS-Security), and reliable messaging (WS-Reliable Messaging), which are concrete implementations of the Messaging Metadata pattern. B: This is a true statement. To implement the Messaging Metadata pattern, the underlying messaging technology or framework must provide an API or mechanism for senders to add metadata (as headers or properties) and for receivers or intermediaries to read and process it. D: This is a true statement. Patterns like Intermediate Routing rely on routing-specific information (e.g., a routing slip or dynamic destination addresses) being included with the message. The Messaging Metadata pattern provides the standard mechanism to carry this data without altering the message's core payload.

References

Erl, T. (2009). SOA Design Patterns. Prentice Hall.

For Correct Answer (C): In the description of the Correlation Identifier pattern, it is stated that "This pattern is almost always dependent on the application of the Messaging Metadata pattern..." (p. 379). The Correlation Identifier pattern is explicitly designed to manage state in asynchronous conversations, demonstrating that Messaging Metadata is essential for, not inapplicable to, stateful exchanges.

For Incorrect Option (A): The Messaging Metadata pattern description states, "The most common implementation of this pattern is the use of SOAP header blocks..." and later mentions, "The emergence of numerous WS- specifications has further standardized the use of SOAP headers..." (p. 375).

For Incorrect Option (D): The "Pattern Relationships" section for Messaging Metadata notes that it "can be used to support the application of patterns such as... Intermediate Routing... by supplementing messages with activity-specific metadata" (p. 376).

Scroll to Top