-
Notifications
You must be signed in to change notification settings - Fork 185
Feature/spring bean function support #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/spring bean function support #25
Conversation
我过两天测试下哈,这几天比较忙,没法回归。 |
} | ||
|
||
|
||
@OperationLog(bizId = "'1'", bizType = "'testSpringBeanFuncNoParam'", msg = "#_DIFF(#testUserWithParam(#param), #param)", executeBeforeFunc = true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bizType = "'testSpringBeanFuncWithParam'"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个我在发版本前来改吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的谢谢,后来我们换方案了监听binlog在大数据那边做的业务日志记录,还有一些改进点希望考虑,mq支持那里,原则上应该是业务中已配置mq的话则不覆盖,只需要exchange和topic就够了,需要在spring.factories里将Rabbit和Rocket的AutoConfiguration一起引入,在项目中的配置类上方加@AutoConfigAfter注解,优先加载业务配置的相关类,并且自定义bean上方加@ConditionOnMissingBean注解,这样可以以业务定义的RabbitMqTemplate等为准,我之前调试的时候就遇到了,因为我们的配置比较复杂有ssl相关配置,项目中所给出的配置项不全,一直连不上
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的谢谢,后来我们换方案了监听binlog在大数据那边做的业务日志记录,还有一些改进点希望考虑,mq支持那里,原则上应该是业务中已配置mq的话则不覆盖,只需要exchange和topic就够了,需要在spring.factories里将Rabbit和Rocket的AutoConfiguration一起引入,在项目中的配置类上方加@AutoConfigAfter注解,优先加载业务配置的相关类,并且自定义bean上方加@ConditionOnMissingBean注解,这样可以以业务定义的RabbitMqTemplate等为准,我之前调试的时候就遇到了,因为我们的配置比较复杂有ssl相关配置,项目中所给出的配置项不全,一直连不上
嗯,几个消息管道这里实现的一直很初级,现在我自己推荐别人用也会让他们去本地监听里自己处理mq。这一块和mq的版本,配置等很多东西强相关,想要覆盖全或者提升兼容性难度不小,先放到待办里面看了。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
非静态方法包装为静态方法这里,还没有消化完成。
线程包装类很实用,
8607
似traceId和自定义逻辑可以处理。
我先merge,之后稍作修改后发布版本。
之前测试不完整,本地执行maven的doc插件和gpg都有冲突