JSON CCDT examples
Use the examples listed in this topic as a basis for we requirements.
Open a generic text editor and copy one of the following examples:- Define a simple client connection
- Define two channels with the same name
- Complete list of CCDT channel attribute definitions
Define a simple client connection
{ "channel": [ { "general": { "description": "a channel" }, "name": "channel", "clientConnection": { "connection": [ { "host": "localhost", "port": 1414 } ], "queueManager": "QM1" }, "type": "clientConnection" } ] }
Define two channels with the same name
Each channel connects to two distinct queue managers:{ "channel": [ { "general": { "description": "First channel" }, "name": "channel", "clientConnection": { "connection": [ { "host": "localhost", "port": 1414 } ], "queueManager": "QM1" }, "type": "clientConnection" }, { "general": { "description": "Second channel" }, "name": "channel", "clientConnection": { "connection": [ { "host": "localhost", "port": 1415 } ], "queueManager": "QM2" }, "type": "clientConnection" } ] }
Complete list of CCDT channel attribute definitions
{ "channel": [ { "compression": { "header": [ "system" ], "message": [ "zlibfast" ] }, "connectionManagement": { "sharingConversations": 10, "clientWeight": 1, "affinity": "none", "defaultReconnect": "yes", "disconnectInterval": 6000, "heartbeatInterval": 600, "keepAliveInterval": -1, "localAddress": [ { "portRange": { "low": 2020, "high": 3030 } } ] }, "exits": { "receive": [ { "name": "", "userData": "" } ], "security": { "name": "", "userData": "" }, "send": [ { "name": "", "userData": "" } ] }, "general": { "description": "First channel", "maximumMessageLength": 4194304 }, "name": "the_channel", "clientConnection": { "connection": [ { "host": "localhost", "port": 1414 } ], "queueManager": "QM1" }, "timestamps": { "altered": "2018-12-04T15:37:22.000Z" }, "transmissionSecurity": { "cipherSpecification": "", "certificateLabel": "", "certificatePeerName": "" }, "type": "clientConnection" } ] }Parent topic: Configure a JSON format CCDT
Related information