Basic usage example of Stomp protocol with Appcelerator-Titanium
- The code provide was tested with Titanium SDK 3.1.2 .
- The Stomp is tested with Rabbit-mq server .
- Rabbit-mq server was at my local MAC machine and Stomp is running at port 61613 .
- So hostname used is of my local machine , you have to update it according to your need.
- The example is simple and supports CONNECT , SEND and SUBSCRIBE COMMAND of Stomp Specifications.
- This example uses the Titanium.Network.Socket.TCP API to enable sockets.
- I have tested the code it both IOS and android.
Just clone the repo and import as Titanium Mobile project !!
Sid