Skip to main content
The ActiveMQ source connector receives messages from ActiveMQ clusters and writes messages to Pulsar topics.

Installation

Configuration

The configuration of the ActiveMQ source connector has the following properties.

ActiveMQ source connector configuration

Configure ActiveMQ source connector

Before using the ActiveMQ source connector, you need to create a configuration file through one of the following methods.
  • JSON
  • YAML
  1. Prepare ActiveMQ service.
  2. Put the pulsar-io-activemq-2.5.1.nar in the pulsar connectors catalog.
  3. Start Pulsar in standalone mode.
  4. Run ActiveMQ source locally.
  5. Consume Pulsar messages.
  6. Send ActiveMQ messages. Use the test method sendMessage of the class org.apache.pulsar.ecosystem.io.activemq.ActiveMQDemo to send ActiveMQ messages.