IntroductionThe Petals ESB "Shared Area", more generally called "Registry", is an internal component in charge of storing internal data. The Petals ESB "Shared Area" can be viewed as a database shared by all Petals ESB nodes of a given Petals topology. For example, before sending a message to a service provider, the Petals ESB "Router" will request the Petals ESB "Shared Area" for the right endpoint according to the information in the message (interface name and/or service name and/or endpoint name). Data stored in the area are all data that must be shared by all Petals ESB containers:
|
Table of contents Contributors
No contributors found for: authors on selected page(s)
|
Implementations
Several implementation exist for the Petals ESB "Shared Area". According to your use-case, select the right one:
Petals ESB Shared Area implementation name | Default implementation ? |
---|---|
the [Petals ESB Standalone Registry] | Yes, for a standalone topology |
the Petals ESB Hazelcast Registry client | Yes, for a distributed topology |
Installation
A default implementation of the Petals ESB "Shared Area" is provided with the archive of Petals ESB. No extra installation is required.
To install another Petals Shared Area implementation, just put its JAR files in a sub-directory of $PETALS_HOME/lib/implementations/registry.
Configuration
Configuration parameter
The Petals ESB "Shared Area" implementation selection process is:
- if an implementation is set in the topology definition (topology/domain/registry-implementation), it is used,
- otherwise, the implementation used is the one available in the Petals ESB classpath.
See the documentation of the Petals ESB "Shared Area" implementations for other configuration parameters.
Logging configuration parameters
The Petals ESB "Shared Area" uses the following logger to trace its execution: Petals.Communication.SharedArea.
Petals.Communication.SharedArea.level=FINE