Module cloudi_service_send

Service Request Send CloudI Service

The send service has its lifetime tied to the sending of service requests provided as initialization arguments. Use the send service when it is necessary to initiate processing in other services that doesn't occur automatically.

.

Copyright © 2021-2022 Michael Truog

Version: 2.0.5 Oct 12 2022 00:50:50 ------------------------------------------------------------------------

Behaviours: cloudi_service.

Authors: Michael Truog (mjtruog at protonmail dot com).

Description

Service Request Send CloudI Service

The send service has its lifetime tied to the sending of service requests provided as initialization arguments. Use the send service when it is necessary to initiate processing in other services that doesn't occur automatically.

The send service configuration could be added to cloudi_service_api_batch configuration (or provided to the cloudi_service_api_batch:services_add function) for sending service requests to cloudi_service_shell before other queued service configurations are started by cloudi_service_api_batch.

To avoid having the send service restart when 1 or more service request sends fail, set MaxR to 0 in its service configuration. A retry argument is provided if service request send retries are necessary.

Function Index

cloudi_service_handle_info/3
cloudi_service_init/4
cloudi_service_terminate/3

Function Details

cloudi_service_handle_info/3

cloudi_service_handle_info(Request, State, Dispatcher) -> any()

cloudi_service_init/4

cloudi_service_init(Args, Prefix, Timeout, Dispatcher) -> any()

cloudi_service_terminate/3

cloudi_service_terminate(Reason, Timeout, State) -> any()


Generated by EDoc