Example 1

For the GET > Source setting in an input card, select JMS. In the GET > Source > Command field, enter:

-T -HDR -ICTXFURL file://C:/jdkmqs/STORE -ICTXF 
com.sun.jndi.fscontext.RefFSContextFactory -CFN myQueueCF1 -QN 

This command creates a trace file and outputs a header. In addition, it specifies the following:

  • the initial context factory URL as file-based object STORE
  • the initial context factory as com.sun.jndi.fscontext.RefFSContextFactory
  • the connection factory JNDI lookup name as myQueueCF1
  • sets the JNDI queue lookup name as myQ1