I need a Lua application that can send messages to a STOMP broker using the STOMP messaging protocol. There is a C client library available at [login to view URL] and Lua 5.1 can load C libraries. The lua program only needs to send messages to the STOMP server on different topics/ques but the program needs to keep a persistent connection to the STOMP server for an extended period of time and not crash. The Lua program does NOT need to process incoming STOMP messages or subscribe to topics.
## Deliverables
I need a Lua application that can send messages to a STOMP broker using the STOMP messaging protocol. There is a C client library available at [login to view URL] and Lua 5.1 can load C libraries.
The lua program only needs to send messages to the STOMP server on different topics/ques but the program needs to keep a persistent connection to the STOMP server for an extended period of time and not crash. The Lua program does NOT need to process incoming STOMP messages or subscribe to topics.
THIS MUST BE DONE IN LUA
the LUA script will be run inside another program which allows you to embed only LUA scripts.