Creating manually the CAM configuration file cam.cfg.

Document ID : KB000039483
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction: 

CAM (CA Message Queuing) provides (logically) connectionless application-to-application messaging in that no direct link exists between the applications. Instead, applications communicate with a CAM server, which adds filtering, queuing, routing and quality of service attributes to the message exchange. The CAM server will deliver the message to the recipient application, either directly, if the recipient is on the same machine, or by delegating the task to a remote CAM server. However, the minimum service level provided gives a degree of reliability such that where both applications are running then messages will be passed between them.

 

cam.cfg

Main CAM configuration file. Configures most aspects of CAM's operation, including basic configuration settings, routing rules, logging and tracing control, port and transport layer control, and so forth.

 

Question: 

Does the cam.cfg automatically get created or do I have to manually create it?

 

Environment:  

CA Client Automation - All Versions

 

Answer: 

Cam.cfg file must be created manually by a user.

From a cmd prompt do the following:

  1. CAF Stop
  2. camclose & cam start -c -l            
  3. Run 'camsave config'.  This will create a save.cfg file at %CAI_MSQ%.
  4. Then just rename the file to cam.cfg .
  5. CAF Start

 

Note:

When you create a cam.cfg it puts all active connection in the cam.cfg file, so clearing the cam queue first will save you from having to delete all connections using the default UDP connection, which should not be stored in a cam.cfg file.