commit | 2e9b709c198fa9dd7eac6b38bc58b847dbaf4ca1 | [log] [tgz] |
---|---|---|
author | DLive <xsxgmail@163.com> | Fri May 03 21:02:19 2019 +0800 |
committer | DLive <xsxgmail@163.com> | Fri May 03 21:02:19 2019 +0800 |
tree | 3852c5228890464d719bb81670b9b783558a563b | |
parent | 834dc65dc413c8210846e205adc3956d1f663948 [diff] |
fix module rename process supervisor ref
Apache Dubbo Erlang Implementation.
The following features are supported.
Add dubblerl to rebar.config with your project
{deps, [ {dubboerl, {git, "http://github.com/dubboerl/dubboerl.git", {branch, "master"}}} ]}.
Use erlanalysis tool transfer java interface to erlang lib. And add the lib to you project app dir.
configure dubbo reference.
in sys.config add dubboerl config. For example:
{dubboerl,[ {zookeeper_list,[{"127.0.0.1",2181}]}, {application,<<"testdubboerl">>}, {consumer,[ {<<"me.dlive.dubboservice.service.IProcessData">>,[]} ]}, {provider,[ {scherdule_impl,scherdule_behaviour,<<"me.dlive.dubboservice.service.Scherdule">>,[]} ]} ]}
Init dubboerl application context when your project start.
dubboerl:init().
Do your interface method invoker.
RequestPara = #testReq{name = <<"nameinfo">>,nick = <<"nickinfo">>,age = 10}, iProcessData:queryinfo(Info,[]).
Reference the demo project dubboerl_demo