docfix/typo

This commit is contained in:
hongwei 2024-11-13 12:50:03 +01:00
parent 178f2eba28
commit faa8a2ff92
2 changed files with 5 additions and 4 deletions

View File

@ -339,7 +339,7 @@ class Boot extends MdcLoggable {
}
}
// start RabbitMq Adatper
// start RabbitMq Adapter(using mapped connector as mockded CBS)
if (APIUtil.getPropsAsBoolValue("rabbitmq.adapter.enabled", false)) {
code.bankconnectors.rabbitmq.Adapter.startRabbitMqAdapter.main(Array(""))
}

View File

@ -3069,7 +3069,8 @@ class ServerCallback(val ch: Channel) extends DeliverCallback with MdcLoggable{
/**
* This is only for testing, not ready for production.
* Still in processing.
* use mapped connector as the bank CBS.
* Work in progress
*/
object MockedRabbitMqAdapter extends App with MdcLoggable{
private val RPC_QUEUE_NAME = "obp_rpc_queue"
@ -3109,7 +3110,7 @@ object MockedRabbitMqAdapter extends App with MdcLoggable{
} finally {
if (connection != null) {
try {
// connection.close() //this is a tempreory solution, we keep this connection open to wait for messages
// connection.close() //this is a temporary solution, we keep this connection open to wait for messages
} catch {
case e: Exception => logger.error(s"unknown Exception:$e")
}
@ -3119,7 +3120,7 @@ object MockedRabbitMqAdapter extends App with MdcLoggable{
}
/**
* This adapter is only for testing poplors, not ready for the production
* This adapter is only for testing, not ready for the production
*/
object startRabbitMqAdapter {
def main(args: Array[String]): Unit = {