Book Image

Learning Karaf Cellar

By : Jean Baptiste Onofre, Jean-Baptiste Onofré
Book Image

Learning Karaf Cellar

By: Jean Baptiste Onofre, Jean-Baptiste Onofré

Overview of this book

Table of Contents (16 chapters)

Resources


In the previous chapter, we saw that we have an internal queue per resource and per cluster group.

A resource is a type of a cluster event. Cellar defines the following cluster events:

  • bundle: This is a cluster event that corresponds to a bundle action (install, uninstall, start, stop, and so on)

  • config: This is a cluster event that corresponds to a configuration action (create, delete, propset, propappend, propdel, and so on)

  • features: This is a cluster event that corresponds to a feature action (addurl, delurl, install, uninstall, and so on)

Remember that each type of cluster event is managed by a specific handler.

In the filter definition, specify the resource just after cluster_group. This will allow you to filter the events of a specific type (bundle, config, and features).