Helper module for KIT DM 2.0 services providing capabilities to receive AMQP messages, e.g. sent by the repository or the authentication service. It allows to trigger actions in case of a specific event like the creation of a user or the modification of a resource. For details on which events are emitted, please refer to the documentation of the emitting service.
In order to build this module you'll need:
- Java SE Development Kit 17 or higher
After obtaining the sources change to the folder where the sources are located and call:
user@localhost:/home/user/generic-message-consumer$ ./gradlew install
BUILD SUCCESSFUL in 1s
3 actionable tasks: 3 executed
user@localhost:/home/user/generic-message-consumer$
The gradle wrapper will download and install gradle, if not already available. Afterwards, the module artifact will be built and installed into the local maven repository, from where it can be used by other projects.
Instead of using a local build you may also use the most recent version from the Central Maven Repository directly.
<dependency>
<groupId>edu.kit.datamanager</groupId>
<artifactId>generic-message-consumer</artifactId>
<version>1.1.0</version>
</dependency>
compile group: 'edu.kit.datamanager', name: 'generic-message-consumer', version: '1.1.0'
The KIT Data Manager is licensed under the Apache License, Version 2.0.