Order of precedence for deriving the message domain

How the JMSInput node derives the message domain and JMS message type.

When a JMS message is received by the JMSInput node, the message domain is derived according to the following criteria and in the following order of precedence:

  1. The Message Domain property is set to a specific domain type.

    In this case, the node expects to receive only the following JMS message types:

    Message domain Valid JMS message types
    BytesMessage TextMessage MapMessage StreamMessage ObjectMessage
    BLOB X X     X
    XML   X      
    XMLNS   X      
    XMLNSC   X      
    MRM X X      
    JMSMap     X    
    JMSStream       X  
    MIME X X      
    IDOC X X      

    If a JMS message type is received, which is not valid for the message domain that is configured in the JMSInput node, the node issues a warning and backs out the message either to the source JMS provider destination, or to the backout destination.

  2. The Message domain property is left blank (default). The JMSType header value from the JMS input message is set according to the URI format shown below. The domain in the mcd: string can be upper case or lower case.
    JMSType Broker domain
    mcd://MRM/[set]/[type]/[?format=fmt] MRM
    mcd://XML XML
    mcd://XMLNS XMLNS
    mcd://XMLNSC/[set] XMLNSC
    mcd://IDOC/[set]/[?format=fmt] IDOC
    mcd://MIME MIME

    If a JMS message type is received, which is not valid for the message domain configured in the JMSType header, the node issues a warning and backs out the message either to the source JMS provider destination, or to the backout destination.

    Messages received in the MRM domain

    Messages that are received in the MRM domain must have a JMSType header field that is set in accordance with the following format (which is also used in JMS provision):
    mcd://MRM/[set]/[type]/[?format=fmt]
    For example,
    mcd://MRM/SWIFTXML2005/{http://SWIFT/2005}:Document/?format=SWIFT

    If the JMSType field does not conform to this format, the message is handled in the BLOB domain.

  3. The Message Domain property is left blank (default) and the JMSType header value from the JMS input message is also left blank.

    The message domain is set according to the JMS message Java™ Class as follows:

    JMS message type Message domain
    TextMessage XML
    BytesMessage BLOB
    MapMessage JMSMap
    StreamMessage JMSStream
    ObjectMessage BLOB
Related concepts
JMS parsers and domains
Specifying namespaces in the Message Type property
Multipart messages
Related reference
JMS message structure
JMS message types
Representation of messages across the JMS Transport
JMS input message header and property data
JMS Message payload
JMS message payload and appropriate parser
JMS message for output
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:20:33

ac24870_