Read configuration from AKKA's application.conf
the version of your API
Root path to your API with the scheme, domain and port. For example, http://yourdomain.com/api
.
This is the path as seen by the end user and not from on the local server.
Swagger definition version
Path segments to group APIs by. Default is 1
which refers to the first
relative path segment.
For example, the following will be grouped under the /pets
because the the share pets
in the 1st path
segment.
/pets /pets/{petId} /pets/findById
Number of seconds before a request is timed out. Make sure that your processor
actor responds within this number of seconds or throws an exception. Defaults to 60
seconds.
Number of seconds before a org.mashupbots.socko.events.SockoEvent is
removed from the cache and cannot be accessed by the REST processor. Once the REST processor has access to
the org.mashupbots.socko.events.SockoEvent, its expiry from the cache does not affect usability. The cache
is just used as a means to pass the event. Defaults to 5
seconds.
Maximum number of workers per org.mashupbots.socko.rest.RestHandler.
Reschedule a message for processing again using this delay when max worker count has been reached.
Determines if the message from runtime exceptions caught during handing of a REST request is returned to the caller in addition to the HTTP status code.
Two types of exceptions are raised: 400 Bad Requests
and 500 Internal Server Error
. If turned on, the
message will be return in the response and the content type set to text/plain; charset=UTF-8
.
the version of your API
Maximum number of workers per org.mashupbots.socko.rest.RestHandler.
Reschedule a message for processing again using this delay when max worker count has been reached.
Determines if the message from runtime exceptions caught during handing of a REST request is returned to the caller in addition to the HTTP status code.
Determines if the message from runtime exceptions caught during handing of a REST request is returned to the caller in addition to the HTTP status code.
Two types of exceptions are raised: 400 Bad Requests
and 500 Internal Server Error
. If turned on, the
message will be return in the response and the content type set to text/plain; charset=UTF-8
.
Number of seconds before a request is timed out.
Number of seconds before a request is timed out. Make sure that your processor
actor responds within this number of seconds or throws an exception. Defaults to 60
seconds.
Root path to your API with the scheme, domain and port.
Root path to your API with the scheme, domain and port. For example, http://yourdomain.com/api
.
This is the path as seen by the end user and not from on the local server.
Number of seconds before a org.mashupbots.socko.events.SockoEvent is removed from the cache and cannot be accessed by the REST processor.
Number of seconds before a org.mashupbots.socko.events.SockoEvent is
removed from the cache and cannot be accessed by the REST processor. Once the REST processor has access to
the org.mashupbots.socko.events.SockoEvent, its expiry from the cache does not affect usability. The cache
is just used as a means to pass the event. Defaults to 5
seconds.
Path segments to group APIs by.
Path segments to group APIs by. Default is 1
which refers to the first
relative path segment.
For example, the following will be grouped under the /pets
because the the share pets
in the 1st path
segment.
/pets /pets/{petId} /pets/findById
Swagger definition version
Configuration for REST handler
This can also be loaded from an externalized AKKA configuration file. For example:
can be loaded as follows:
the version of your API
Root path to your API with the scheme, domain and port. For example,
http://yourdomain.com/api
. This is the path as seen by the end user and not from on the local server.Swagger definition version
Path segments to group APIs by. Default is
1
which refers to the first relative path segment.For example, the following will be grouped under the
/pets
because the the sharepets
in the 1st path segment.Number of seconds before a request is timed out. Make sure that your processor actor responds within this number of seconds or throws an exception. Defaults to
60
seconds.Number of seconds before a org.mashupbots.socko.events.SockoEvent is removed from the cache and cannot be accessed by the REST processor. Once the REST processor has access to the org.mashupbots.socko.events.SockoEvent, its expiry from the cache does not affect usability. The cache is just used as a means to pass the event. Defaults to
5
seconds.Maximum number of workers per org.mashupbots.socko.rest.RestHandler.
Reschedule a message for processing again using this delay when max worker count has been reached.
Determines if the message from runtime exceptions caught during handing of a REST request is returned to the caller in addition to the HTTP status code.
Two types of exceptions are raised:
400 Bad Requests
and500 Internal Server Error
. If turned on, the message will be return in the response and the content type set totext/plain; charset=UTF-8
.