Table of Contents

Search

  1. Preface
  2. Understanding PowerExchange for JMS
  3. Configuring PowerExchange for JMS
  4. Working with JMS Sources and Targets
  5. Creating and Configuring JMS Workflows
  6. Appendix A: JMS Datatype Reference
  7. Appendix B: Glossary of Terms

PowerExchange for JMS User Guide for PowerCenter

PowerExchange for JMS User Guide for PowerCenter

Working with JMS Sources and Targets Overview

Working with JMS Sources and Targets Overview

Every JMS source and target definition contains JMS message header fields. Source definitions contain the header fields used to read messages from JMS sources. Target definitions contain the header fields used to write messages to JMS targets.
The following table shows the message header fields that JMS source and target definitions contain:
JMS Message Header Field
JMS Source Definition
JMS Target Definition
JMSCorrelationID
Yes
Yes
JMSMessageID
Yes
No
JMSType
Yes
Yes
JMSDestination
Yes
Yes
JMSReplyTo
Yes
Yes
JMSDeliveryMode
Yes
Yes
JMSExpiration
Yes
No
JMSTimeToLive
No
Yes
JMSPriority
Yes
Yes
JMSTimestamp
Yes
No
JMSRedelivered
Yes
No
JMS source and target definitions can also contain message property and body fields depending on which JMS message type the source or target definition represents. JMS source and target definitions can represent metadata for several types of JMS messages.
The following table shows the types of JMS messages that source or target definitions can represent:
Message Type
Description
Message
JMS source and target definitions should represent the message type Message when the source or target messages only need to contain header and property fields. Messages of the type Message cannot contain body fields.
TextMessage
JMS source and target definitions should represent the message type TextMessage when the source or target messages contain XML data. Source and target definitions that represent messages of the type TextMessage contain a single body field and can have multiple property fields.
BytesMessage
JMS source and target definitions should represent the message type BytesMessage when the source or target messages contain a stream of uninterpreted bytes. Source and target definitions that represent messages of the type BytesMessage contain a single body field and can have multiple property fields.
MapMessage
JMS source and target definitions should represent the message type MapMessage when the source or target messages contain name/value pairs. Source and target definitions that represent messages of the type MapMessage can contain any number of body and property fields.
JMS sources and targets that you define represent messages of the type Message by default. Since JMS messages of the type Message do not contain body fields, default source and target definitions do not contain body fields. The default source definition also does not contain property fields. However, you can add property fields to the source definition since JMS messages of the type Message can contain property fields.

0 COMMENTS

We’d like to hear from you!