Greetings, I am new to Python. I need to setup a MQ Listener( I have Host, Port and required certs installed on client).
1. Can you give me a sample Listener code(on Linix OS),
This Listener, Listens to a port(on MQ Server) for a message(volume of messages - max 10,000 per day).
When message comes it will parse the message and update MySQL table with the data from parsed message. ( I found a documentation on how to connect
MySQL and insert/update entries.)
2. In the Listener code, can we limit connections to MQ(server) and MySQL(database).
3. How can we schedule the Listener to run continuously and send email when it fails/got killed/terminated.
4. How can we setup auto restart when server restarts for scheduled maintenance.
5. Is there any risk of loosing processing message/data when doing auto restart or when listener got killed. How do we know.
Thank you for your help...