About this task
BTT Message provides MessageListener interface, you should implements
the interface according to their business logic. See the following example:
MessageListener msgListener = new MessageListener(){
public void onMessage(Object message) {
System.out.println("receive msg : " + message);
}
};