我记录在日志中:
INFO | jvm 1 | 2014/11/10 18:57:49 | INFO | Sending message: ActiveMQTextMessage {commandId = 5, responseRequired = false, messageId = ID:kataev-pc-44816-1415376508242-3:7:1:1:1, producerId = ID:kataev-pc-44816-1415376508242-3:7:1:1, destination = queue://foo.bar, ... , text = Enter some text here for the message body...E...sage body...}
如何在发送备注的日志中更改消息文本字段的大小?我在log4j属性,activemq属性中搜索它,没有结果。
谢谢!
不幸的是,ActiveMQTextMessage的toString方法正在截断消息文本。 我找不到覆盖这个的方法。