Compare commits

..

No commits in common. "874480aadb433acf4d063d52a4dc020cdf539079" and "489bd376e3b5294d77ae0dacc94dd64443de4dd1" have entirely different histories.

View File

@ -1,7 +1,7 @@
package mq
import api.ApiObject
import com.google.gson.GsonBuilder
import com.google.gson.Gson
import com.rabbitmq.client.*
import database.service.ISampleObjectService
import org.koin.core.component.KoinComponent
@ -9,7 +9,7 @@ import org.koin.core.component.inject
class DatabaseConsumer (channel: Channel) : Consumer, KoinComponent {
private val resultObjectService: ISampleObjectService by inject()
private val gson = GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ssz").create()
private val gson = Gson()
private val basicChannel = channel
override fun handleConsumeOk(consumerTag: String?) {
}