My architecture will use ActiveMQ on the server and have Android clients send and receive messages.The network situation will be very unreliable; possibly hours of missing connection. Is there a framework that will allow me to queue up the messages on the android client and deliver them reliably once the connection is back?
Message queuing from android considering unreliable network
403 Views Asked by Julian At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in ACTIVEMQ-CLASSIC
- ActiveMQ connection Url for Blob Messages
- ActiveMQ offline message transfer on database level
- Extract data from JSON in vanilla Java/Camel/Spring
- ActiveMQ http connection refused
- what is BlobTransfer Policy in ActiveMQ
- JMS Message Selector does not work
- ActiveMQ: Error while loading shared libraries
- ActiveMQ: how to subscribe/unsubscribe from non-durable subscriptions
- How to remove the messages in the queue from the Activemq
- Do all ActiveMQ clients need a client certificate?
- use message driven bean to get message from topic apache apollo
- gatling stress testing on AWS, threads staying in active
- ActiveMQ topic messages missed after listener error
- Persistence of ActiveMQ Blob Messages
- How to Produce from MQTT and consume as MQTT and JMS in ActiveMQ
Related Questions in MESSAGING
- Patterns for messages not arriving in chronological order
- Amazon AWS, messages from SQS queue delivered multiple times
- Akka and two-way actor conversations
- Java + Native messaging doesn't work good
- What is a worker in RabbitMQ
- Logical Clocks: Lamport Timestamps
- zeroRPC: keep running process after response is sent
- how do i repeatedly send a text in android application
- Lamport’s (Physical) Clock Synchronization Algorithm
- How JavaScript objects passed with postMessage
- use string value of mvvm message as variable in viewmodel
- Does using this "shortcutting function" is a good practice?
- How can I send email using core java code via outlook account running in unicode mode ? I am using javax.mail jar files
- How do I get multiple clients to listen to the same consumer?
- How can i usw crud operations with rabbitmq and nodejs?
Related Questions in UNRELIABLE-CONNECTION
- Message queuing from android considering unreliable network
- Application design for data persistence over unreliable internet
- Reliable(durable) distributed logging engine
- Android app handling write requests over unreliable network
- Two generals' agreement
- Are there any libraries or samples for non-duplex WCF chunking?
- Strategies for Java ORM with Unreliable Network and Low Bandwidth
- Are there any programs that can simulate an unstable network connection?
- Reliable UDP and ACK method question
- Solution for Web Application with Unreliable Internet Connection
- MySQL table synchronization : incomplete copy without error
- Why does Android Bluetooth stop receiving bytes after a few minutes?
- BLE: obtaining BluetoothDevice via BluetoothAdapter#getRemoteDevice() vs scanning
- RabbitMQ - deal with unreliable service
- What is the Best Transport type of SignalR for unreliable networks?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can efficiently implement one yourself, I don't think anyone will provide you this service, and if they do they will certainly charge, Here is what I can suggest for an optimal solution.
Design a db using SQLITE to hold you message, once a message is ready for deliver from android client, you can perform the following a. If network is avaibale, then you can directly deliver message to your web clinet b. If network in not present, then cache it directly to you local android db
Design a Sync logic, you can achieve it by network listener, so when user device comes back into network, you can write a logic to query from databse and posting to your webclient, deleting local data subsequently upon successful posting into server
You can strengthen you logic, by caching message everytime into local db first, then a Sync logic which will commit your local changes to web server in bulk, thus improving upon processing time.
Hope this answer your problem.