This "Starter" guide focuses on immediate results through hands-on recipes:

Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); Destination destination = session.createQueue("myQueue");

Create a Java class called Consumer.java with the following code:

Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); Destination destination = session.createQueue(QUEUE_NAME);

An application that receives and processes messages from the broker.

เรื่องที่คุณอาจสนใจ