A tryst with message queues Pt. 4
So far... I have installed RabbitMQ server on my development machine and using it to test my development code. I have STOMP_SEND working fine. Using the management web console for RabbitMQ I can see the messages being queued. Now I have to read the sent messages. And here I stumbled into a situation where libstomp's stomp_read function was failing. So now going ahead, I integrated the message sending code into the product. The requirement was simple. We had to send a fixed message to a queue with time stamp every two mins. So I put together a thread and put the message sending logic into it. After testing it, I started work on the read part. The requirement was simple. The product has to read some messages from a queue and display them to user. Thankfully one of the system guys fixed libstomp ( saving me some efforts :D ), and made the stomp_read working again. So after putting together a test application to read from the queue, I ended up with a no of problems. First o...