Skip to content
Permalink
Browse files
doc: add consumer&provider usage
  • Loading branch information
DLive committed May 5, 2019
1 parent c5628b1 commit 86b6e96c1fff228b9cb21812ec80d2ae0e1a4b7d
Showing 1 changed file with 22 additions and 0 deletions.
@@ -0,0 +1,22 @@
# Provider Configurations

## Base Config
Provider config is under the dubboerl application with sys.config
```erlang
{dubboerl,[
%% other config ...
{provider,[
{module_implements,interface_module,interface_fullname,[Options]},
%% eg:
{user_impl,user,<<"com.ifcoder.demo.facade.User">>,[Option]}
]}
]}
```

| ConfigName | Type | DefaultValue | Remarks |
| --- | --- | --- | --- |
| module_implements | atom() | - | The service implements module name|
| interface_module | atom() | - | Interface module name is transfer form java jar |
| interface_fullname | binary() | - | Interface full name is the java class name |

Option is to be added.

0 comments on commit 86b6e96

Please sign in to comment.