Configuring a JSON format CCDT
The client channel definition table (CCDT) determines the channel definitions and authentication information used by client applications to connect to the queue manager. You use a text editor to create and update a JavaScript Object Notation (JSON) CCDT.
Before you begin
If you are using IBM® MQ for Multiplatforms, you can instead use the binary CCDT that is created automatically when you create a queue manager. See Configuring a binary format CCDT.
About this task
- Linux®
- /opt/mqm/lib/ccdt_schema.json
- Windows
- C:\Program Files\IBM\MQ\bin\ccdt_schema.json
There is no default JSON CCDT, and IBM MQ does not supply any tooling to create or edit CCDTs in JSON format. Nonetheless, you have more configuration options when you manually develop a JSON CCDT than when you use the runmqsc command to work with a binary CCDT:
- You do not need to be using IBM MQ for Multiplatforms to create and edit a JSON CCDT file.
- Using the JSON format, you can define duplicate channel definitions of the same name. When you deploy IBM MQ on the cloud, you can use this to make your deployment scalable and highly available.
- The JSON file is human readable, which can simplify queue manager configuration.
- A flat file format can be integrated with:
- Version control tooling to track the CCDT history
- Automation tooling in continuous delivery
- You need no specialist tooling to maintain the CCDT file.
- The file is smaller.
- This format provides backwards and forwards compatibility.
- The JSON standard sees duplicate keys as valid, however, the JSON parser only takes the last
read value of duplicate keys when assigning attributes. Therefore, when defining duplicate
channels, each channel must be an element of an array value that is assigned to the
'
channel
' key. - The key and attribute values in JSON CCDTs must be provided exactly as specified in the schema. Especially note that the JSON parsing is case-sensitive.
- JSON CCDTs do not support storing of Lightweight Directory Access Protocol (LDAP) server locations for Certificate Revocation Lists (CRL) and Online Certificate Status Protocol (OCSP) responder location information.
Platform | JMS client encoding | C client encoding |
---|---|---|
UNIX platforms, Linux, and Windows | ASCII | ASCII |
z/OS® | Either ASCII or EBCDIC | Not applicable |
Therefore, you must provide specific values for each attribute for which you do not want the default value.