如何开始使用 ServiceMix 和 activeMQ
How to start with ServiceMix and activeMQ
我想从 apache ServiceMix 和 ActiveMQ 开始,这是一个应该逐步发展的更大项目。我有使用 ActiveMQ、camel 和 tomcat 的经验。
我也读了很多关于 ServiceMix 的文章,但我失败了,因为第一步很简单(我认为)但没有真正记录在某处:
我想启动我的 maven 项目,以便 maven 将我的项目部署到标准的 ServiceMix 安装中,其中第一件事只是添加以下配置 ServiceMix 的 ActiveMQ:
<transportConnectors>
<transportConnector name="mqtt+nio" uri="mqtt+nio://localhost:1883"/>
</transportConnectors>
我的期望是,我可以像将 tomcat 项目部署到 Tomcat 容器一样进行操作。
我怎么能做泰语(目录结构,maven pom)-或者这是不可能的?
如果你想将你的包部署到独立的 ServiceMix,你可以将你创建的包的文件复制到 $KARAF_HOME/deploy
文件夹。这可以使用 maven 来完成。
可以在此处找到有关部署程序的更多信息:http://karaf.apache.org/manual/latest-3.0.x/users-guide/deployers.html
您可以使用 camel-maven-plugin 从 IDE http://camel.apache.org/camel-maven-plugin.html
进行调试
了解 camel:运行 目标 http://camel.apache.org/camel-run-maven-goal.html
我想从 apache ServiceMix 和 ActiveMQ 开始,这是一个应该逐步发展的更大项目。我有使用 ActiveMQ、camel 和 tomcat 的经验。 我也读了很多关于 ServiceMix 的文章,但我失败了,因为第一步很简单(我认为)但没有真正记录在某处:
我想启动我的 maven 项目,以便 maven 将我的项目部署到标准的 ServiceMix 安装中,其中第一件事只是添加以下配置 ServiceMix 的 ActiveMQ:
<transportConnectors>
<transportConnector name="mqtt+nio" uri="mqtt+nio://localhost:1883"/>
</transportConnectors>
我的期望是,我可以像将 tomcat 项目部署到 Tomcat 容器一样进行操作。
我怎么能做泰语(目录结构,maven pom)-或者这是不可能的?
如果你想将你的包部署到独立的 ServiceMix,你可以将你创建的包的文件复制到 $KARAF_HOME/deploy
文件夹。这可以使用 maven 来完成。
可以在此处找到有关部署程序的更多信息:http://karaf.apache.org/manual/latest-3.0.x/users-guide/deployers.html
您可以使用 camel-maven-plugin 从 IDE http://camel.apache.org/camel-maven-plugin.html
进行调试了解 camel:运行 目标 http://camel.apache.org/camel-run-maven-goal.html