Create a JMS XML Model

JMS XML 25-9 JMS XML Knowledge Modules Options Table 25–3 lists the KM options for the LKM and IKM for JMS XML. Options that are specific to XML messages are in bold. Although most options are the same for the LKM and IKM, there are only few differences: ■ The INITIALIZE_XML_SCHEMA and ROOT_TABLE options are only provided for the IKM. ■ The DELETE_TEMPORARY_OBJECTS and JMS_COMMIT options are only provided for the LKM. ■ Set JMS_COMMIT to Yes to commit the message consumption on the Router JMS XML. Table 25–3 JMS Specific KM Options Option Used to Description CLIENTID Read Subscriber identification string. Not used for publication. DURABLE Read D: Session is durable. Indicates that the subscriber definition remains on the router after disconnection. INITIALIZE_XML_ SCHEMA Write Initializes an empty XML schema. This option must be set to YES for the first interface loading the schema. JMSDELIVERYMODE Write JMS delivery mode 1: Non Persistent, 2: Persistent. A persistent message remains on the server and is recovered on server crash. JMSEXPIRATION Write Expiration delay in milliseconds for the message on the server [0..4 000 000 000]. 0 signifies that the message never expires. Warning After this delay, a message is considered as expired, and is no longer available in the topic or queue. When developing interfaces it is advised to set this parameter to zero. JMSPRIORITY Write Relative Priority of the message: 0 lowest to 9 highest. JMSTYPE Write Optional name of the message. MESSAGEMAXNUMBER Read Maximum number of messages retrieved [0 .. 4 000 000 000]. 0: All messages are retrieved. MESSAGESELECTOR Read Message selector in ISO SQL syntax for filtering on the router. See Section 24.7.1, Using JMS Properties for more information on message selectors. MESSAGETIMEOUT Read Time to wait for the first message in milliseconds [0 .. 4 000 000 000]. If MESSAGETIMEOUT is equal to 0, then there is no timeout. MESSAGETIMEOUT and MESSAGEMAXNUMBER cannot be both equal to zero. If MESSAGETIMEOUT= 0 and MESSAGEMAXNUMBER =0, then MESSAGETIMEOUT takes the value 1. Warning An interface may retrieve no message if this timeout value is too small.