【问题标题】:Embedded Apache Artemis with Quarkus带有 Quarkus 的嵌入式 Apache Artemis
【发布时间】:2022-11-18 23:47:23
【问题描述】:

我希望在我的服务中以嵌入式模式运行 Artemis。我正在寻找添加此目的的 gradle 依赖项。我按照以下文档中的说明进行操作

https://activemq.apache.org/components/artemis/documentation/1.0.0/embedding-activemq.html

但不确定要包含哪个 gradle 依赖项以获取 EmbeddedActiveMQ 类/库。我试过下面

实施'io.quarkus:quarkus-artemis-core'

在我的 build.gradle 文件中,但我得到一个异常,尽管加载了依赖项,但仍未找到该类(gradle build 不会抛出任何错误)。知道缺少什么吗?

先感谢您!

神光

【问题讨论】:

    标签: gradle build.gradle microservices quarkus activemq-artemis


    【解决方案1】:

    Embedding Apache ActiveMQ Artemis 的最新文档是https://activemq.apache.org/components/artemis/documentation/latest/embedding-activemq.html

    来自 Quarkus Artemisquarkus-artemis-core 工件用于 Apache ActiveMQ Artemis Core客户不是服务器.

    请参阅 embeddedembedded-simple 示例以找出 embed Apache ActiveMQ Artemis 所需的依赖项。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-02-08
      • 2021-09-24
      • 2019-09-04
      • 1970-01-01
      • 1970-01-01
      • 2022-07-28
      • 2018-01-26
      • 2020-10-09
      相关资源
      最近更新 更多