Git Product home page Git Product logo

fty-common-messagebus's Introduction

fty-common-messagebus

fty-common-messagebus:

  • Centralize all methods to address Request/Reply, Publish/Subscribe patterns above malamute message bus.

How to build

To build fty-common-messagebus project run:

./autogen.sh
./configure
make
make check # to run self-test

How to use the dependency in your project

In the project.xml, add following lines:

<use project = "fty-common-messagebus" libname = "libfty_common_messagebus" header = "fty_common_messagebus.h"
        repository = "https://github.com/42ity/fty-common-messagebus.git"
        release = "master"
        test = "fty_common_messagebus_selftest" />

Howto

See all samples in src folder.

fty-common-messagebus's People

Contributors

arnaudquette-eaton avatar boricj avatar etnklendathu avatar francoisregisdegott-eaton avatar jimklimov avatar mimixav avatar navarropierre avatar perrettecl avatar stark-dev avatar yarovyii avatar zjes avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fty-common-messagebus's Issues

ideas for improvements

  • in messagebus-interface.cc, typo "const std::string Message::COORELATION_ID"
  • examples should be stored in a dedicated directory
  • examples should be at least commented; what they do, how they do that...
  • README.md should describe the lib functionnalities, main goals and principes

Example progs delivered into final OS image

There is some mess in the system ;)

# ls -la /usr/bin/*mess*
-rwxr-xr-x. 1 root root 35264 Oct 30 15:05 /usr/bin/fty_common_messagebus_example
-rwxr-xr-x. 1 root root 27072 Oct 30 15:05 /usr/bin/fty_common_messagebus_example2
-rwxr-xr-x. 1 root root 22984 Oct 30 15:05 /usr/bin/fty_common_messagebus_example_rep
-rwxr-xr-x. 1 root root 23016 Oct 30 15:05 /usr/bin/fty_common_messagebus_example_rep2
-rwxr-xr-x. 1 root root 23024 Oct 30 15:05 /usr/bin/fty_common_messagebus_example_req

delivered by the main package:

# grep fty_common_messagebus_example /var/lib/dpkg/info/*
/var/lib/dpkg/info/fty-common-messagebus.list:/usr/share/man/man1/fty_common_messagebus_example_req.1.gz
/var/lib/dpkg/info/fty-common-messagebus.list:/usr/share/man/man1/fty_common_messagebus_example2.1.gz
/var/lib/dpkg/info/fty-common-messagebus.list:/usr/share/man/man1/fty_common_messagebus_example_rep.1.gz
/var/lib/dpkg/info/fty-common-messagebus.list:/usr/share/man/man1/fty_common_messagebus_example_rep2.1.gz
/var/lib/dpkg/info/fty-common-messagebus.list:/usr/share/man/man1/fty_common_messagebus_example.1.gz
/var/lib/dpkg/info/fty-common-messagebus.list:/usr/bin/fty_common_messagebus_example_req
/var/lib/dpkg/info/fty-common-messagebus.list:/usr/bin/fty_common_messagebus_example2
/var/lib/dpkg/info/fty-common-messagebus.list:/usr/bin/fty_common_messagebus_example_rep2
/var/lib/dpkg/info/fty-common-messagebus.list:/usr/bin/fty_common_messagebus_example
/var/lib/dpkg/info/fty-common-messagebus.list:/usr/bin/fty_common_messagebus_example_rep
/var/lib/dpkg/info/fty-common-messagebus.md5sums:bf1fd50f855774c5c07645c1f369ee9c  usr/bin/fty_common_messagebus_example
/var/lib/dpkg/info/fty-common-messagebus.md5sums:d1d915abc698975ae0084265efaee848  usr/bin/fty_common_messagebus_example2
/var/lib/dpkg/info/fty-common-messagebus.md5sums:0b5f9b1c86831e41fb5d22433d99f3d3  usr/bin/fty_common_messagebus_example_rep
/var/lib/dpkg/info/fty-common-messagebus.md5sums:d07f835e9ddd3a76f8a24d07b5f9b0aa  usr/bin/fty_common_messagebus_example_rep2
/var/lib/dpkg/info/fty-common-messagebus.md5sums:fa1f80565d656a4d5476c3481b4918b2  usr/bin/fty_common_messagebus_example_req
/var/lib/dpkg/info/fty-common-messagebus.md5sums:36811c71a837ad1e3a44695ba08b6b03  usr/share/man/man1/fty_common_messagebus_example.1.gz
/var/lib/dpkg/info/fty-common-messagebus.md5sums:985407e08fd7b5ec1ccf87470dd4322a  usr/share/man/man1/fty_common_messagebus_example2.1.gz
/var/lib/dpkg/info/fty-common-messagebus.md5sums:6abb87b93a7aebd07786d9021b4f5422  usr/share/man/man1/fty_common_messagebus_example_rep.1.gz
/var/lib/dpkg/info/fty-common-messagebus.md5sums:55e8147322e1d4c870a457853e232070  usr/share/man/man1/fty_common_messagebus_example_rep2.1.gz
/var/lib/dpkg/info/fty-common-messagebus.md5sums:ea93130e838a319ed49106ce0201f16c  usr/share/man/man1/fty_common_messagebus_example_req.1.gz

If these are not needed in production, it makes sense to move these files into devel or a separate new optional package.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.