use good old rabbitmq api
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5e443345af
commit
8bec7d6120
@ -6,7 +6,7 @@ services:
|
|||||||
image: "postgres:12"
|
image: "postgres:12"
|
||||||
restart: "always"
|
restart: "always"
|
||||||
volumes:
|
volumes:
|
||||||
- "ktor-data:/var/lib/postgresql/data"
|
- "input-ktor-data:/var/lib/postgresql/data"
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:54321:5432"
|
- "127.0.0.1:54321:5432"
|
||||||
environment:
|
environment:
|
||||||
@ -44,4 +44,4 @@ services:
|
|||||||
- "127.0.0.1:5672:5672"
|
- "127.0.0.1:5672:5672"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ktor-data:
|
input-ktor-data:
|
@ -106,11 +106,7 @@ class InputServiceServer {
|
|||||||
resultObjectService.addOne(currentApiObject)
|
resultObjectService.addOne(currentApiObject)
|
||||||
}
|
}
|
||||||
|
|
||||||
connection.confirmChannel {
|
channel.basicPublish("",queueName, null, tag.toString().toByteArray())
|
||||||
publish {
|
|
||||||
publishWithConfirm(OutboundMessage(rabbitExchangeName, "", MessageProperties.PERSISTENT_BASIC, tag.toString()))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
call.respond(currentApiObject)
|
call.respond(currentApiObject)
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,6 @@ import org.jetbrains.exposed.sql.ResultRow
|
|||||||
import org.jetbrains.exposed.sql.select
|
import org.jetbrains.exposed.sql.select
|
||||||
import org.jetbrains.exposed.sql.selectAll
|
import org.jetbrains.exposed.sql.selectAll
|
||||||
import org.jetbrains.exposed.sql.transactions.transaction
|
import org.jetbrains.exposed.sql.transactions.transaction
|
||||||
import java.time.LocalDate
|
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user