Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

05. Module: Broker

Tim Berthold edited this page Jul 28, 2021 · 1 revision

Quick Start

Can be included as a dependency:

<dependency>
    <groupId>de.fraunhofer.ids.messaging</groupId>
    <artifactId>broker</artifactId>
    <version>IDS_MESSAGING_SERVICES_VERSION</version>
</dependency>

Theoretical Background

  • Pre-built functionality to be able to send messages to an IDS-Broker without having to build the specific IDS-Messages.
  • Contains the messaging-module as a dependency and thus relies on its functionalities.
  • Also gets transitively the core-module via the messaging-module.

Scope of Functionality

  • BrokerService as a central point to use predefined methods, instead of writing the specific messages and using the Messaging-IdsHttpService
  • Methods in BrokerService: removeResourceFromBroker, updateResourceAtBroker, unregisterAtBroker, updateSelfDescriptionAtBroker, updateSelfDescriptionAtBrokers, queryBroker
  • Include MessageBuilders, which assemble the message types
  • For example, for unregisterAtBroker only the broker URL is needed, specific message-type is assembled by BrokerService itself

Clone this wiki locally