ReceiveMessages
shows how to create an application that will listen for incoming messages from an OPENMAIA server.
The listener class, responsable of processing incoming messages, is the sample class MyListener
that uses an auxiliar object called MyObject
.
The syntax for running the message receiver is the following:
java -classpath omconnector-<VERSION>.jar:omconnector-samples-<VERSION>.jar ReceiveMessages