Coder Social home page Coder Social logo

alexandregz / androidamqpexample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jayrambhia/androidamqpexample

0.0 2.0 0.0 784 KB

Demo android app for receiving group messages using RabbitMQ. Python RabbitMQ server/client included

Java 85.65% Python 14.35%

androidamqpexample's Introduction

AndroidAMQPExample

Demo android app for receiving group messages using RabbitMQ. Python RabbitMQ server/client included

Description

This is a demo application which shows how RabbitMQ can be used for a group chat/messaging app. This uses RabbitMQ java bindings. A connection is set up and the queue is bound to group ids. MainActivity starts a service in background which handles the connection with the server. I'm using EventBus to communicate between Service and Activity.

A naive Python implementation of the server is provided. As this is just a demo application, it uses some demo data. It can be extended to add users, events and other things. A python client is also available using which one can test if the server is working or not.

How To Use:

Server

python emit_group_messages.py
# Input style - message:channel_index_in_list
>>> Input prompt
This is a simple message.:1
>>> Input prompt
This is another simple message.:2

Client

python receive_group_messages.py <some_group> <another_group> ..

alt tag

androidamqpexample's People

Contributors

jayrambhia avatar

Watchers

 avatar  avatar

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.