Control Properties

Control Properties

You can set the configuration properties via ConnectPlaza Deploy. Select the agent you want to configure and select Agent configuration. Select in the selection box the Control and you will be presented with the correct settings. See Deploy Configuration for more information.

Parameter Example value Description
# Control Adapter
   
connectplaza.control.control-flow.httpconsumer.host ${connect.jetty.sslconnector.host} SSL connector host from ConnectPlaza-agent.properties file
connectplaza.control.control-flow.httpconsumer.port ${connect.jetty.sslconnector.port} SSL connector port from ConnectPlaza-agent.properties file
connectplaza.control.mqtt-publish-flow.mqtt-producer.url ssl://mqtt.connectplaza.com:8883 Default MQTT URL setting for publishing
     
# interval the mqtt-connection-check-flow will check for connection
   
connectplaza.control.mqtt-connection-check-flow.cron 0 */1 * * * * Default Cron setting for MQTT to check the connection.
     
# messages send to notificationTopic live for x ms    
connectplaza.control.JmsTemplate.timeToLive 3600000 TTL Notification topics
     
# messages send to notificationTopic are persistent

   
connectplaza.control.JmsTemplate.deliveryPersistent true Are the notification topics persistent
connectplaza.control.mqtt-connection.username connectplaza Username MQTT connection
connectplaza.control.mqtt-connection.password <PASSWORD> Password of the user for the MQTT connection
     
# control mail reporter    
connectplaza.control.mail-reporter.notification-mailer.notificationConsumer.cron */5 * * * * * Cron setting for consuming the mail for notifications
connectplaza.control.mail-reporter.notification-mailer.mail-producer.to   Set mail to address
connectplaza.control.mail-reporter.notification-mailer.mail-producer.from   Set mail from address
connectplaza.control.mail-reporter.notification-mailer.mail-producer.host   Email host name
connectplaza.control.mail-reporter.notification-mailer.mail-producer.port 587 Email port name
connectplaza.control.mail-reporter.notification-mailer.mail-producer.starttls true Use startTLS true / false
connectplaza.control.mail-reporter.notification-mailer.mail-producer.username   Username for extracting the email
connectplaza.control.mail-reporter.notification-mailer.mail-producer.password   Password of the user who extracts the email
connectplaza.control.mail-reporter.notification-mailer.mail-producer.subject ConnectPlaza Control Notification from ${connect.license.key} Default subject for the email send
connectplaza.control.mail-reporter.notification-mailer.user-email-map   Specify the user email map
connectplaza.control.mail-reporter.notification-mailer.delay 4500 Default delay for notifications in ms

 

Most of the time you do not have to change these variables. But in case the defaults do not apply to your situation you can change them in this file. Restart the agent after changing the parameters to activate the new settings.