generic-message-consumer

Generic message consumer for event handling in KIT Data Manager 2.0 services

License

License

Categories

Categories

Data
GroupId

GroupId

edu.kit.datamanager
ArtifactId

ArtifactId

generic-message-consumer
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

generic-message-consumer
Generic message consumer for event handling in KIT Data Manager 2.0 services
Project URL

Project URL

http://datamanager.kit.edu
Source Code Management

Source Code Management

https://github.com/kit-data-manager/generic-message-consumer

Download generic-message-consumer

How to add to project

<!-- https://jarcasting.com/artifacts/edu.kit.datamanager/generic-message-consumer/ -->
<dependency>
    <groupId>edu.kit.datamanager</groupId>
    <artifactId>generic-message-consumer</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/edu.kit.datamanager/generic-message-consumer/
implementation 'edu.kit.datamanager:generic-message-consumer:0.2.0'
// https://jarcasting.com/artifacts/edu.kit.datamanager/generic-message-consumer/
implementation ("edu.kit.datamanager:generic-message-consumer:0.2.0")
'edu.kit.datamanager:generic-message-consumer:jar:0.2.0'
<dependency org="edu.kit.datamanager" name="generic-message-consumer" rev="0.2.0">
  <artifact name="generic-message-consumer" type="jar" />
</dependency>
@Grapes(
@Grab(group='edu.kit.datamanager', module='generic-message-consumer', version='0.2.0')
)
libraryDependencies += "edu.kit.datamanager" % "generic-message-consumer" % "0.2.0"
[edu.kit.datamanager/generic-message-consumer "0.2.0"]

Dependencies

runtime (3)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-amqp jar
edu.kit.datamanager : service-base jar 0.2.0
com.h2database : h2 jar 1.3.148

test (1)

Group / Artifact Type Version
junit : junit jar

Project Modules

There are no modules declared in this project.

KIT Data Manager - Generic Message Consumer

Build Status License

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.

How to build

In order to build this module you'll need:

  • Java SE Development Kit 8 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.

Dependency from Maven Central Repository

Instead of using a local build you may also use the most recent version from the Central Maven Repository directly.

Maven

<dependency>
    <groupId>edu.kit.datamanager</groupId>
    <artifactId>generic-message-consumer</artifactId>
    <version>0.1</version>
</dependency>

Gradle

compile group: 'edu.kit.datamanager', name: 'generic-message-consumer', version: '0.1'

License

The KIT Data Manager is licensed under the Apache License, Version 2.0.

edu.kit.datamanager

KIT Data Manager

The generic research data repository architecture

Versions

Version
0.2.0
0.1.2
0.1.1
0.1
0.0.2
0.0.1