【问题标题】:Not able to install AMQP Connector in MuleSoft Any point Studio无法在 MuleSoft Any point Studio 中安装 AMQP 连接器
【发布时间】:2016-11-29 07:26:01
【问题描述】:

我是 MuleSoft Any point Studio 的新手。

尝试使用 MuleSoft 网站上提供的详细信息安装 AMQP 连接器。

Link - https://docs.mulesoft.com/mule-user-guide/v/3.7/amqp-connector

在 pom.xml 文件中添加 maven 支持设置时,应用程序会抛出错误消息。

错误信息:

目前我使用的是 AnypointStudio-for-win-64bit-6.1.2 版本。

我需要添加的设置:

要安装 AMQP 连接器,请将以下存储库添加到您的 Maven 安装中:

<repository>
  <id>mule-releases</id>
  <name>Mule Releases Repository</name>
  <url>https://repository-master.mulesoft.org/nexus/content/repositories/releases</url>
  <layout>default</layout>
</repository>

<dependency>
  <groupId>org.mule.transports</groupId>
  <artifactId>mule-transport-amqp</artifactId>
  <version>x.y.z</version>
</dependency>

<inclusions>
  <inclusion>
  <groupId>org.mule.transports</groupId>
  <artifactId>mule-transport-amqp</artifactId>
  </inclusion>
</inclusions>

这个问题有什么解决办法吗?

【问题讨论】:

    标签: maven amqp mule-studio anypoint-studio stimulsoft


    【解决方案1】:

    我知道这个问题很老,但答案是您应该在“配置”标签中添加内容。例如:

    <plugin>
        <groupId>org.mule.tools.maven</groupId>
        <artifactId>mule-app-maven-plugin</artifactId>
        <version>${mule.tools.version}</version>
        <extensions>true</extensions>
        <configuration>
            <copyToAppsDirectory>true</copyToAppsDirectory>
            <inclusions>
                   <inclusion>
                          <groupId>org.mule.transports</groupId>
                          <artifactId>mule-transport-amqp</artifactId>
                   </inclusion>
            </inclusions>
        </configuration>
    </plugin>
    

    这样,amqp jar 就会被添加到部署的应用程序中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-01-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多