The database directive lets you configure database access for console applications such as the CAI command-line tool. Console applications do not access the database through the broker.
You add the database directive to the broker element of the rules.xml file.
This setting stays in use for the lifetime of the agent.
<database driver="mySinkDriver" url="mySinkURL" user="mySinkUser" password="mySinkPassword"/>
Example:
<database driver="org.postgresql.Driver" url="jdbc:postgresql://localhost:5432/agtdb" user="postgres" password="postgres"/>
Copyright © 2014 CA Technologies.
All rights reserved.
|
|