Example JmsQ2TuxS Configuration

How to Configure the Oracle Tuxedo Queuing Bridge 7-7

7.4.3 Example JmsQ2TuxS Configuration

The following section provides an example configuration in the config.xml file for reading from a JMS queue, calling a Tuxedo service, and then writing the results back to a JMS queue. wtc-tbridge-redirect directionJmsQ2TuxSdirection nameredir0name replyqweblogic.jms.Tux2JmsQueuereplyq source-nameweblogic.jms.Jms2TuxQueuesource-name target-access-pointTDOM2target-access-point target-nameTOUPPERtarget-name translate-fmlFLATtranslate-fml wtc-tbridge-redirect The following section describes the components of the JmsQ2TuxS configuration: ■ The Direction connection type is JmsQ2TuxS. ■ Source Name specifies the name of the JMS queue to read is weblogic.jms.Jms2TuxQueue. ■ Target Access Point specifies the name of the access point is TDOM2. ■ Target Name specifies the name of the queue is TOUPPER. ■ ReplyQ specifies the name of the JMS reply queue is weblogic.jms.Tux2JmsQueue. ■ TranslateFML set to FLAT specifies that when a JMS message is received, the message is in XML format and is converted into the corresponding FML32 data buffer. The message is then placed in a tpcall with arguments TDOM2 and TOUPPER. The resulting message is then translated from FML32 into XML and placed on the weblogic.jms.Tux2JmsQueue. Table 7–3 provides information on the JMSQ2TuxX message mapping: Table 7–2 TuxQ2JmsQ Message Mapping From: Oracle WebLogic Tuxedo Connector JATMI Tuxedo To: JMS Message Type TypedCArray BytesMessage TypedString translateFML = NO TextMessage TypedFML32 translateFML = FLAT TextMessage TypedFML translateFML = FLAT TextMessage TypedXML TextMessage Table 7–3 JMSQ2TuxX Message Mapping JMS Message Type Oracle WebLogic Tuxedo Connector JATMI Tuxedo JMS Message Type BytesMessage TypedCArray BytesMessage TextMessage translateFML = NONE TypedString TextMessage TextMessage translateFML = FLAT TypedFML32 TextMessage 7-8 WebLogic Tuxedo Connector Administration Guide for Oracle WebLogic Server For more information on XMLFML conversion, see Using FML with WebLogic Tuxedo Connector in Oracle Fusion Middleware Tuxedo Connector Programmers Guide for Oracle WebLogic Server.

7.5 Priority Mapping