tree: 60ebdd55d6cc004114975f7be683902d9f699763 [path history] [tgz]
  1. src/
  2. pom.xml
  3. README-CN.md
  4. README.md
connectors/rocketmq-connect-activemq/README.md
ActiveConnector fully-qualified name

org.apache.rocketmq.connect.activemq.connector.ActivemqConnector

activemq-source-connector start

POST  http://${runtime-ip}:${runtime-port}/connectors/activeSourceConnector
{
    "connector.class":"org.apache.rocketmq.connect.activemq.connector.ActivemqSourceConnector",
    "max-task":"3",
    "activemqUrl":"tcp://localhost:61616",
    "destinationType":"queue",
    "destinationName":"testQueue",
    "connect.topicname":"targetTopic",
    "value-converter":"org.apache.rocketmq.connect.runtime.converter.record.json.JsonConverter",
    "key-converter":"org.apache.rocketmq.connect.runtime.converter.record.json.JsonConverter"
}
parameter configuration
parametereffectrequireddefault
activemqUrlThe URL of the ActiveMQ brokeryesnull
activemqUsernameThe username to use when connecting to ActiveMQnonull
activemqPasswordThe password to use when connecting to ActiveMQnonull
destinationNameThe name of the JMS destination (queue or topic) to read fromyesnull
destinationTypeThe type of JMS destination, which is either queue or topicyesnull
messageSelectorThe message selector that should be applied to messages in the destinationnonull
sessionAcknowledgeModeThe acknowledgement mode for the JMS SessionnullSession.AUTO_ACKNOWLEDGE
sessionTransactedFlag to determine if the session is transacted and the session completely controls. the message delivery by either committing or rolling back the sessionnullfalse