diff --git a/obp-api/src/main/scala/bootstrap/liftweb/Boot.scala b/obp-api/src/main/scala/bootstrap/liftweb/Boot.scala index b4e186deb..6cc758f2a 100644 --- a/obp-api/src/main/scala/bootstrap/liftweb/Boot.scala +++ b/obp-api/src/main/scala/bootstrap/liftweb/Boot.scala @@ -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("")) } diff --git a/obp-api/src/main/scala/code/bankconnectors/rabbitmq/Adapter/MockedRabbitMqAdapter.scala b/obp-api/src/main/scala/code/bankconnectors/rabbitmq/Adapter/MockedRabbitMqAdapter.scala index f9031c8c8..662a1c651 100644 --- a/obp-api/src/main/scala/code/bankconnectors/rabbitmq/Adapter/MockedRabbitMqAdapter.scala +++ b/obp-api/src/main/scala/code/bankconnectors/rabbitmq/Adapter/MockedRabbitMqAdapter.scala @@ -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 = {