Eclipse Ditto :: Services :: AMQP Bridge :: Messaging

Eclipse Ditto is a framework for creating and managing digital twins in the IoT.

License

License

Categories

Categories

CLI User Interface Messaging Application Layer Libs
GroupId

GroupId

org.eclipse.ditto
ArtifactId

ArtifactId

ditto-services-amqpbridge-messaging
Last Version

Last Version

0.2.0-M1
Release Date

Release Date

Type

Type

jar
Description

Description

Eclipse Ditto :: Services :: AMQP Bridge :: Messaging
Eclipse Ditto is a framework for creating and managing digital twins in the IoT.
Project Organization

Project Organization

Eclipse Foundation

Download ditto-services-amqpbridge-messaging

How to add to project

<!-- https://jarcasting.com/artifacts/org.eclipse.ditto/ditto-services-amqpbridge-messaging/ -->
<dependency>
    <groupId>org.eclipse.ditto</groupId>
    <artifactId>ditto-services-amqpbridge-messaging</artifactId>
    <version>0.2.0-M1</version>
</dependency>
// https://jarcasting.com/artifacts/org.eclipse.ditto/ditto-services-amqpbridge-messaging/
implementation 'org.eclipse.ditto:ditto-services-amqpbridge-messaging:0.2.0-M1'
// https://jarcasting.com/artifacts/org.eclipse.ditto/ditto-services-amqpbridge-messaging/
implementation ("org.eclipse.ditto:ditto-services-amqpbridge-messaging:0.2.0-M1")
'org.eclipse.ditto:ditto-services-amqpbridge-messaging:jar:0.2.0-M1'
<dependency org="org.eclipse.ditto" name="ditto-services-amqpbridge-messaging" rev="0.2.0-M1">
  <artifact name="ditto-services-amqpbridge-messaging" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.eclipse.ditto', module='ditto-services-amqpbridge-messaging', version='0.2.0-M1')
)
libraryDependencies += "org.eclipse.ditto" % "ditto-services-amqpbridge-messaging" % "0.2.0-M1"
[org.eclipse.ditto/ditto-services-amqpbridge-messaging "0.2.0-M1"]

Dependencies

compile (23)

Group / Artifact Type Version
org.eclipse.ditto : ditto-services-amqpbridge-util jar 0.2.0-M1
org.eclipse.ditto : ditto-json jar 0.2.0-M1
org.eclipse.ditto : ditto-model-base jar 0.2.0-M1
org.eclipse.ditto : ditto-protocol-adapter jar 0.2.0-M1
org.eclipse.ditto : ditto-signals-commands-base jar 0.2.0-M1
org.eclipse.ditto : ditto-signals-events-base jar 0.2.0-M1
org.eclipse.ditto : ditto-services-utils-akka jar 0.2.0-M1
org.eclipse.ditto : ditto-services-utils-cluster jar 0.2.0-M1
org.eclipse.ditto : ditto-services-utils-persistence jar 0.2.0-M1
org.eclipse.ditto : ditto-services-models-amqp-bridge jar 0.2.0-M1
org.eclipse.ditto : ditto-signals-commands-amqp-bridge jar 0.2.0-M1
org.eclipse.ditto : ditto-signals-events-amqp-bridge jar 0.2.0-M1
com.typesafe.akka : akka-actor_2.12 jar 2.5.8
com.typesafe.akka : akka-stream_2.12 jar 2.5.8
com.typesafe.akka : akka-cluster_2.12 jar 2.5.8
com.typesafe.akka : akka-cluster-sharding_2.12 jar 2.5.8
com.typesafe.akka : akka-cluster-tools_2.12 jar 2.5.8
com.typesafe.akka : akka-slf4j_2.12 jar 2.5.8
com.github.scullxbones : akka-persistence-mongo-casbah_2.12 jar 2.0.4
org.mongodb : casbah_2.12 pom 3.1.1
io.kamon : kamon-core_2.12 jar 0.6.7
javax.jms : javax.jms-api jar 2.0.1
org.apache.qpid : qpid-jms-client jar 0.27.0

provided (2)

Group / Artifact Type Version
com.google.code.findbugs : jsr305 jar 3.0.1
org.eclipse.ditto : ditto-utils-jsr305 jar 0.2.0-M1

Project Modules

There are no modules declared in this project.
Ditto Logo

Eclipse Ditto

Join the chat at https://gitter.im/eclipse/ditto Build Status Maven Central License Lines of code

Eclipse Ditto is the open-source project of Eclipse IoT that provides a ready-to-use functionality to manage the state of Digital Twins. It provides access to them and mediates between the physical world and this digital representation.

Documentation

Find the documentation on the project site: https://eclipse.org/ditto/

Getting started

In order to start up Ditto, you'll need

  • a running Docker daemon (at least version 18.06 CE)
  • Docker Compose installed (at least version 1.22)

Start Ditto

In order to start the latest built Docker images from Docker Hub, simply execute:

cd deployment/docker/
docker-compose up -d

Check the logs after starting up:

docker-compose logs -f

Open following URL to get started: http://localhost:8080
Or have a look at the "Hello World"

Build and start Ditto locally

In order to build Ditto, you'll need

  • JDK 11 >= 11.0.5 and
  • Apache Maven 3.x installed.

In order to first build Ditto and then start the built Docker images.

1. Build Ditto with Maven

mvn clean install

2. Build local Ditto Docker snapshot images

cd services/
./build-images.sh

If your infrastructure requires a proxy, its host and port can be set using the -p option like for example:

./build-images.sh -p 172.17.0.1:3128

Please note that the given host and port automatically applies for HTTP and HTTPS.

3. Start Ditto with local snapshot images

cd ../deployment/docker/
# the "dev.env" file contains the SNAPSHOT number of Ditto, copy it to ".env" so that docker compose uses it:
cp dev.env .env
docker-compose up -d

Check the logs after starting up:

docker-compose logs -f

You have now running:

  • a MongoDB as backing datastore of Ditto (not part of Ditto but started via Docker)
  • Ditto microservices:
    • Policies
    • Things
    • Things-Search
    • Gateway
    • Connectivity
    • Concierge
  • an nginx acting as a reverse proxy performing a simple "basic authentication" listening on port 8080
org.eclipse.ditto

Eclipse Foundation

Versions

Version
0.2.0-M1
0.1.0-M3