The UNICOM® Digital Transformation Toolkit (UDTT™) Asynchronous Message component is a component that can deliver messages between the UDTT server and its client. You can register a message handler, send a message and receive message.
There are three interfaces in UDTT Message:
▪ MessageListener onMessage(message). It handles the message receiving.
▪ ListenerManager.
▪ register(target, listener). It binds a specific listener to a target.
▪ remove(target, listener). It unbinds a specific listener to a target.
▪ MessageDispatcher send(target, message). It sends a message to the target.
UDTT provides two methods to implement UDTT Message:
▪ HTTP implementation (bttmessage.jar)
▪ JMS implementation
For the http implementation of UDTT Message, the Message Queue in server side is an instance of MessageDispatcher at above picture. For the JMS implementation of UDTT Message, the Message Queue in server side means the JMS provider (Queue) at above picture.