mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 16:56:56 +00:00
docfix/typo
This commit is contained in:
parent
178f2eba28
commit
faa8a2ff92
@ -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(""))
|
||||
}
|
||||
|
||||
@ -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 = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user