The @akera/web instance.
Returns the @akera/web instance used by the data access handler.
Log an error message and optionally pipe it into the Response.
The error object or message string.
The Response instance to pipe the error message.
The HTTP status code to use.
Log a message back to the parrent @akera/web instance.
The log message
The log level
Returns the data access middleware, if the broker name is not passed as input it needs to be retrieved from the first route path parameter.
The broker name
Returns the middleware that can be mounted on an express route.
If there is a single application server configured all requests
on the route's root will be dispatched to that broker.
When multiple application servers (different alias) are present in
configuration then for each alias entry a separate 'sub-route' will be
created and all requests on those routes will be dispatched to the
respective application server. Requests made on route's root will be
rejected with a 405 Method Not Allowed, those for a sub-route that
doesn't match the name of any application server alias will be rejected
with 404 Broker not found.
Partial implementation of the data access handler that can work with and
@akera/webinstance holding application server(s) configuration.