Provider Configuration
Configuring service providers in Erlang
Basic Configuration
Provider configuration items need to be added to the sys.config
file under the dubboerl
application configuration item.
{dubboerl,[
%% other config ...
{provider,[
{module_implements,interface_module,interface_fullname,[Options]},
%% eg:
{userOperator_impl,userOperator,<<"org.apache.dubbo.erlang.sample.service.facade.UserOperator">>,[Option]}
]}
]}
ConfigName | Type | DefaultValue | Remarks |
---|---|---|---|
module_implements | atom() | - | The service implementation module name |
interface_module | atom() | - | Interface module name converted from java jar |
interface_fullname | binary() | - | Fully qualified name of the interface’s Java class |
Option is to be added.
Feedback
Was this page helpful?
Yes No
Last modified September 30, 2024: Update & Translate Overview Docs (#3040) (d37ebceaea7)