Multiple choice technology platforms and products

Your TIBCO ActiveMatrix BusinessWorks process starts by receiving a JMS queue message using the JMS Queue Receiver activity. The message body consists of name/value pairs. Which Message Type should be selected?

  1. Map

  2. Object

  3. Simple

  4. XML Text

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

JMS Map messages represent a set of name-value pairs, where names are String objects and values are Java primitives or their wrappers. Since the process receives name/value pairs, the Map message type is the appropriate choice. Other types like Object (serialized Java object) or XML Text are not optimized or structured for simple name/value pairs.

AI explanation

To answer this question, you need to understand the different message types in TIBCO ActiveMatrix BusinessWorks and their purposes. Let's go through each option to understand why it is correct or incorrect:

Option A) Map - This option is correct because a map message type is used when the message body consists of name/value pairs, allowing you to easily access and manipulate the values based on their corresponding names.

Option B) Object - This option is incorrect because an object message type is used when the message body is a Java object that needs to be serialized and deserialized.

Option C) Simple - This option is incorrect because a simple message type is used when the message body is a simple string or number.

Option D) XML Text - This option is incorrect because an XML text message type is used when the message body is an XML document.

The correct answer is A) Map. This option is correct because a map message type is suitable for handling name/value pairs in the message body.