Please take a look at my comment. Best Regards! Zhongming Hua
在 2019/6/8 上午10:32,“Daniela Morais”<danielamm...@gmail.com> 写入: Hi, Today I did: * The task of merging dubbo-rpc-jms (#3765) overlapped with collecting metrics Questions: 1) Is there any doc that can help me with dubbo-rpc-jms? I fix the conflicts (such as replace RpcResult with AppResponse) but I'm trying to fix the unit tests: java.lang.IllegalStateException: Failed to create adaptive instance: java.lang.IllegalStateException: Can't create adaptive extension interface org.apache.dubbo.rpc.protocol.jms.implementor.JmsImplementor, cause: No adaptive method exist on extension org.apache.dubbo.rpc.protocol.jms.implementor.JmsImplementor, refuse to create the adaptive class! at org.apache.dubbo.rpc.protocol.jms.JmsProtocolTest.testTimeOut(JmsProtocolTest.java:58) 2) I need to add a CpuUsageGaugeSet on Result's attachments (attachments is a Result.java attribute and is a Map<String, String>). What is the best way to achieve this? I tried adding as a JSON: CpuUsageGaugeSet cpuUsage = gson.fromJson(json, CpuUsageGaugeSet.class) throws: "Unable to invoke no-args constructor for interface com.alibaba.metrics.Metric. Registering an InstanceCreator with Gson for this type may fix this problem." Thanks, -- Daniela Morais Computer Science student at the University Of Campinas danielammorais.com <https://www.danielammorais.com>