Sunday 15 July 2012

maven - activemq deny remote connections -


I am trying to run ActiveMQ with Meven using the following command

  Mvn org.apache .activemq.tooling: maven-activmq-plugin: 5.7.0: run   

This works locally, but it blocks remote connections. How can I get a remote connection?

Answers to Excel Wigrates.

You need a custom config (something like Default Active XML config which ships with a stand alone)

Document the page Maven plugin, read it.

  & lt; Construction & gt; & Lt; Plugins & gt; & Lt; Plugin & gt; & Lt; Group & gt; Org.apache.activemq.tooling & lt; / Group & gt; & Lt; ArtifactId & gt; ActiveMQ-Maven-plugin & lt; / ArtifactId> & Lt; Version & gt; 5.8.0 & lt; / Edition & gt; & Lt; Configuration & gt; & Lt; ConfigUri & gt; Xbean: file: ../conf / activemq.xml & lt; / ConfigUri & gt; .. etc   

That activemq.xml should point to a transport connector (see Answer to Aschel vulgars or using the default XML file from ActiveMac).

No comments:

Post a Comment