Skip to content
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

如何不使用springboot配置 #10

Open
sc834466168 opened this issue Dec 6, 2018 · 3 comments
Open

如何不使用springboot配置 #10

sc834466168 opened this issue Dec 6, 2018 · 3 comments

Comments

@sc834466168
Copy link

如何不使用springboot配置

需要配置那些bean

@liuyangming
Copy link
Owner

ByteJTA默认只内置了dubbo、SpringCloud的集成配置,如果没有远程调用的场景只需要多数据源的支持,引入文件bytejta-supports-standalone.xml即可;如果需要集成其他的RPC框架,则需要参考dubbo/SpringCloud的配置文件自行集成。

@sc834466168
Copy link
Author

使用dubbo, 但是现在项目还没有使用spring boot, 那需要怎么配置呢

@liuyangming
Copy link
Owner

参考DubboSupportConfiguration配置类,删除SpringBoot相关的EnableAutoConfiguration部分即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants