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.

  1. {dubboerl,[
  2. %% other config ...
  3. {provider,[
  4. {module_implements,interface_module,interface_fullname,[Options]},
  5. %% eg:
  6. {userOperator_impl,userOperator,<<"org.apache.dubbo.erlang.sample.service.facade.UserOperator">>,[Option]}
  7. ]}
  8. ]}
ConfigNameTypeDefaultValueRemarks
module_implementsatom()-The service implementation module name
interface_moduleatom()-Interface module name converted from java jar
interface_fullnamebinary()-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)