We need to reverse the dependency of `emqx_bridge` and `emqx_bridge_*`, because the former loads and starts bridges during its application startup. If the individual bridge application being loaded has not started with its dependencies, the supervision tree will not be ready for that.
16 lines
315 B
Erlang
16 lines
315 B
Erlang
{application, emqx_bridge_mongodb, [
|
|
{description, "EMQX Enterprise MongoDB Bridge"},
|
|
{vsn, "0.2.1"},
|
|
{registered, []},
|
|
{applications, [
|
|
kernel,
|
|
stdlib,
|
|
emqx_connector,
|
|
emqx_resource,
|
|
emqx_mongodb
|
|
]},
|
|
{env, []},
|
|
{modules, []},
|
|
{links, []}
|
|
]}.
|