Publishing Software AG Universal Messaging messages

When publishing a Software AG Universal Messaging message by using the Software AG Universal Messaging Broker transport, you must configure the message header and the message body.

The first step in publishing Software AG Universal Messaging messages is to create a test in the Test Factory perspective and add a Publish action to it. For information about creating operations and tests, and adding actions to tests, see the links in the related information section.

Config tab

Publish window

You can select the transport, formatter, and define the message content to be sent under the Config tab.

The Software AG Universal Messaging header options are described in the following tables:
Table 1. Producer settings
Options Description
Target Name Enter the name of the Channel, Queue or data Group target to which messages are published. The target must be previously created in Universal Messaging Enterprise Manager.
Target Type Select the type of target that monitors the incoming messages. The target can be a Channel, a Queue or a Data Group.
Generate subject Select to create automatically a publisher name to be used for the publish action, based on the client machine configuration.
Compress If you select this option, the message published to the Channel or Queue is compressed by using the packet size.
Packet size If you selected the compress option, enter the maximum packet size.
Publisher name Specify a given publisher name when the message is published against a Data Group.
Attributes - Message Header
Table 2. Attributes
Options Description
Message Id Enter the message Id (string) allocated to the event (JMS specific).
Correlation id Enter the correlation id allocated to the event (string).
Delivery Mode Enter the delivery mode used for this event (byte).
Reply to Name Enter the reply to the name allocated to the event (string).
Priority Enter the priority allocated to the event in byte.
Type Enter the type of the event in bytes.
Message Type Select a message type for the JMS Message event.
Parameters - Message Header
Table 3. Parameters
Option Description
Tag Enter the event tag string.
Event id Enter the unique id value of this event (for its channel).
TTL Enter the TTL for this event to indicate how long the event will be stored on disk in a mixed channel
Persistent Select this option for the persistent flag of the event.

Message properties

Software AG Universal Messaging-specific properties can be managed under the Message Properties tab.

Each property has a name, type, and value.

  • To add a property, click Add.
  • To edit an existing property, select it and click Edit.
  • To delete a property, select it and click Delete .

For more information about more message properties, see the Software AG Universal Messaging provider documentation.

Message content

The contents and structure of a Software AG Universal Messaging message body varies according to the message type. To set the message type, select one of the options available from the Message Type menu.

You must change the message type in the Attributes tab as well.

Message content

For more information about configuring messages, see the links in the related information section.

The Value tab can be used to modify the message body, and the Store tab is for adding tags.