ApacheCamel:如何使用netty4:tcp读取多行XML响应

ApacheCamel:如何使用netty4:tcp读取多行XML响应,netty,Netty,只返回XML声明,因为它是textline,但如果没有textline,它也不起作用。这不是已经有一个解码编解码器了吗 以下是用于发送消息的内容: .recipientList(simple("netty4:tcp://$simple{property.server}:{{server.port}}?textline=true&sync=true")) 但只返回包含XML声明语句的XML响应的第一行: <?xml version="1.0"?>

只返回XML声明,因为它是textline,但如果没有textline,它也不起作用。这不是已经有一个解码编解码器了吗

以下是用于发送消息的内容:

.recipientList(simple("netty4:tcp://$simple{property.server}:{{server.port}}?textline=true&sync=true"))
但只返回包含XML声明语句的XML响应的第一行:

<?xml version="1.0"?>