Messaging Application Development How To: Instant Apache Activemq
Your Java client needs the broker URL. For local development: tcp://localhost:61616 .
import org.apache.activemq.ActiveMQConnectionFactory; Your Java client needs the broker URL
Create a Java class called Consumer.java with the following code: Your Java client needs the broker URL