@@ -1604,7 +1604,6 @@ class RMQInterface
1604
1604
/* *
1605
1605
* @brief Connect to a RabbitMQ server
1606
1606
* @param[in] rmq_name The name of the RabbitMQ server
1607
- * @param[in] rmq_name The name of the RabbitMQ server
1608
1607
* @param[in] rmq_password The password
1609
1608
* @param[in] rmq_user Username
1610
1609
* @param[in] rmq_vhost Virtual host (by default RabbitMQ vhost = '/')
@@ -1616,8 +1615,7 @@ class RMQInterface
1616
1615
* @param[in] routing_key Routing key for incoming messages (must match what the AMS Python side is using)
1617
1616
* @return True, True if connection succeeded for both publisher/consumer
1618
1617
*/
1619
- std::pair<bool , bool > connect (std::string rmq_name,
1620
- std::string rmq_password,
1618
+ std::pair<bool , bool > connect (std::string rmq_password,
1621
1619
std::string rmq_user,
1622
1620
std::string rmq_vhost,
1623
1621
int service_port,
@@ -2076,7 +2074,6 @@ class DBManager
2076
2074
2077
2075
void instantiate_rmq_db (int port,
2078
2076
std::string& host,
2079
- std::string& rmq_name,
2080
2077
std::string& rmq_pass,
2081
2078
std::string& rmq_user,
2082
2079
std::string& rmq_vhost,
@@ -2096,8 +2093,7 @@ class DBManager
2096
2093
dbType = AMSDBType::AMS_RMQ;
2097
2094
updateSurrogate = update_surrogate;
2098
2095
#ifdef __ENABLE_RMQ__
2099
- rmq_interface.connect (rmq_name,
2100
- rmq_pass,
2096
+ rmq_interface.connect (rmq_pass,
2101
2097
rmq_user,
2102
2098
rmq_vhost,
2103
2099
port,
0 commit comments