AnsweredAssumed Answered

Use of MQX Message Queue

Question asked by Utsavi Kalpesh Bharuchwala on Oct 31, 2014
Latest reply on Nov 4, 2014 by Utsavi Kalpesh Bharuchwala



I am using Code warrior v10.2 and MQX of v4.0.


I am working on a project in which I need to use MQX message queue.


In my project I have two task.


For example.,


One task will monitor the switches of 5 fan, and send the output with detail like fan number with on/off of switch to other task using message.

Other task will response to message and process on it.


But what I want to do is for example if on a one time say fan 1 is ON then it will send a message to other task, but on a same if say fan 2 is off then message of fan number 2 with detail off should be in queue.


Please Note that I have learnt the demo of MQX msg queue example but cant understand anything.


How I come to know that my message is in a queue.???


I have not worked on message queue ever.


Please help with demo code.....