messageArrivedEvent(queue: JadeGenericQueue input);
When the event corresponding to the arrival of a message in a queue occurs, the object that implements the JadeGenericMessagingIF interface is notified and executes its implementation of the messageArrivedEvent interface method.
The queue parameter specifies the JadeGenericQueue object into which a message had been put.
In your implementation of the messageArrivedEvent, you must retrieve a message from the queue by using the getMessage method of the queue parameter. If you do not do this, the messageArrivedEvent is triggered again and the processing loops.
The getMessage method should be called with the NoWait option, and your application should handle a no message found situation if another process has already retrieved the message.