Is it possible to implement a Mirth consumer?

vendredi 19 décembre 2014

I'm trying to make Mirth a message broker in the following sense:



Mirth should conditionally either broadcast messages to all devices, a specific device or group of devices.

Devices who will be receiving messages can be offline sometimes.

Messages are Queued in Mirth.

When the device regains connection and authenticates with Mirth, he receives unread (queued) messages.



I'm thinking of registering every device and its group in a DB.

One channel writes messages to DB.

Another listens for devices, SELECTing unread messages for the requesting device from the DB and then sends them.



Is this the only/simplest way of doing this?

Do I have better alternatives?





Is it possible to implement a Mirth consumer?

0 commentaires:

Enregistrer un commentaire