Interface 1: New config file type (.yml) added to supported hook configuration file types
Usage:
qmgr -c "create hook h1"
qmgr -c "import hook h1 application/x-config default test.yml"
This will import the test.yml file and verify that it is properly formatted YAML
If it is not valid YAML the file will be rejected with the following message
qmgr obj=test svr=default: Failed to validate config file, hook 'test' config file not overwritten qmgr: hook error returned from server |