mirror of
https://github.com/corda/corda.git
synced 2025-01-18 02:39:51 +00:00
Remove debug logging left over from earlier AMQP development. (#2867)
This commit is contained in:
parent
20570d72cf
commit
0494e45037
@ -428,7 +428,6 @@ internal class ConnectionStateMachine(serverMode: Boolean,
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun transportWriteMessage(msg: SendableMessageImpl) {
|
fun transportWriteMessage(msg: SendableMessageImpl) {
|
||||||
log.debug { "Queue application message write uuid: ${msg.applicationProperties["_AMQ_DUPL_ID"]} ${javax.xml.bind.DatatypeConverter.printHexBinary(msg.payload)}" }
|
|
||||||
msg.buf = encodePayloadBytes(msg)
|
msg.buf = encodePayloadBytes(msg)
|
||||||
val messageQueue = messageQueues.getOrPut(msg.topic, { LinkedList() })
|
val messageQueue = messageQueues.getOrPut(msg.topic, { LinkedList() })
|
||||||
messageQueue.offer(msg)
|
messageQueue.offer(msg)
|
||||||
|
@ -103,7 +103,6 @@ internal class AMQPChannelHandler(private val serverMode: Boolean,
|
|||||||
|
|
||||||
override fun channelRead(ctx: ChannelHandlerContext, msg: Any) {
|
override fun channelRead(ctx: ChannelHandlerContext, msg: Any) {
|
||||||
try {
|
try {
|
||||||
log.debug { "Received $msg" }
|
|
||||||
if (msg is ByteBuf) {
|
if (msg is ByteBuf) {
|
||||||
eventProcessor!!.transportProcessInput(msg)
|
eventProcessor!!.transportProcessInput(msg)
|
||||||
}
|
}
|
||||||
@ -116,7 +115,6 @@ internal class AMQPChannelHandler(private val serverMode: Boolean,
|
|||||||
override fun write(ctx: ChannelHandlerContext, msg: Any, promise: ChannelPromise) {
|
override fun write(ctx: ChannelHandlerContext, msg: Any, promise: ChannelPromise) {
|
||||||
try {
|
try {
|
||||||
try {
|
try {
|
||||||
log.debug { "Sent $msg" }
|
|
||||||
when (msg) {
|
when (msg) {
|
||||||
// Transfers application packet into the AMQP engine.
|
// Transfers application packet into the AMQP engine.
|
||||||
is SendableMessageImpl -> {
|
is SendableMessageImpl -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user