ArayChou
ArayChou
I countered the same problem. It will be nice if there is a way to do following: NACK the message if exception. after serveral retrying, still exception, put the message...
谢谢Lihuanghe回复。 我们目前使用注解@Reference(url="xxx")来指定测试服务器地址,但是这个url不能提交到SVN上去。提交SVN的时候手动去掉,测试的时候由手动加上,很是麻烦。如果consumer上增加这个配置就方便很多,可以在配合spring的profile功能,就完美了。
` ` 我现在通过registry的group功能,来实现链接指定的provider来测试代码的功能。通过spring的profile来实现,提交SVN也不影响他人开发。分享出来,也许对大家有用。 不弱,我仍然认为有必要在consumer配置上加上url这个参数。这样可以在没有registry的情况下使用
+1 I have the same problem. I write a demo code, execute method com.gmail.aray.chou.mybatis.enumeration.type.bug.demo.Demo#main to start the demo. In this branch: https://github.com/ArayChou/mybatis-enumeration-handler-demo/tree/works_version. I register com.gmail.aray.chou.mybatis.enumeration.type.bug.demo.CodedEnumHandler to mybatis configuration (line 39-40...