new ActiveMQConnectionFactory("tcp://localhost:61616"); if (receivedMessage instanceof TextMessage) { TextMessage textMessage = (TextMessage) receivedMessage; System.out.println("Received message: " + textMessage.getText()); }


上一篇:
下一篇:
切换中文