Introduction  Sample ODL Application

Chapter 7: Accessing WebSphere MQ Data

Configuration

Use nnsyreg.dat to configure Open Transport context, transport, session, and transaction manager properties. The following code is an example configuration of the nnsyreg.dat file.

OTContext.CLOTOBJ_CON
    NNOT_CTX_DEFAULT_TIL_ID                = CLOTOBJ_TRAN
    NNOT_CTX_TMID                          = QMCLOTOBJ_TM
    NNOT_CTX_ENFORCE_TX                    = TRUE
Transport.CLOTOBJ_TRAN
    NNOT_SHARED_LIBRARY                    = db226mqs
    NNOT_FACTORY_FUNCTION                  = NNMQSQueueFactory
    NNOT_TIL_OPEN_SESSION_ID               = QMCLOTOBJ_SES
    NNOT_TIL_PUT_MSG_PROTOCOL              = NNOT_HDR_IF_NEEDED
    NNOT_TIL_OPEN_TSI                      = CLOTOBJ24
Session.QMCLOTOBJ_SES
    NNOT_SHARED_LIBRARY                    = dbt26mqs
    NNOT_FACTORY_FUNCTION                  = NNMQSSessionFactory
    NNMQS_SES_OPEN_MGR                     = QMCLOTOBJ
TransactionManager.QMCLOTOBJ_TM
    NNOT_SHARED_LIBRARY                    = oti26mqstm
    NNOT_FACTORY_FUNCTION                  = NNOTMQSeriesTXManagerFactory
    NN_TM_MQS_QMGR                         = QMCLOTOBJ




Copyright © 2005. Sybase Inc. All rights reserved. Sample ODL Application

View this book as PDF