在 Wildfly 中使用设置消息子系统

问题描述 投票:0回答:1

我正在尝试从

activemq
30 启用
wildfly
(我需要
mqtt
支持),但即使在尝试添加服务器时也遇到问题

[standalone@localhost:9990 /] /subsystem=messaging-activemq/server=default:add
{
    "outcome" => "failed",
    "failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.IllegalStateException: WFLYMSGAMQ0107: You must define a elytron security doman when security is enabled.",
    "rolled-back" => true
}

在使用

standalone.xml
standalone-full.xml

时,我通过完全干净的安装得到了类似的行为

standalone-full.xml
中只有远程连接器配置

<subsystem xmlns="urn:jboss:domain:messaging-activemq:16.0">
    <remote-connector name="artemis" socket-binding="messaging-activemq">
        <param name="use-nio" value="true"/>
        <param name="use-nio-global-worker-pool" value="true"/>
    </remote-connector>
    <pooled-connection-factory name="activemq-ra" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory" connectors="artemis" transaction="xa" user="guest" password="guest"/>
</subsystem>

我想获得一些有关如何配置此“elytron security doman”或如何停止安全系统本身的帮助(该应用程序仅在本地运行,无法从外部访问它)。

或者使用单独安装的

activemq
并在
wildfly
中配置远程连接会更好吗?

基本上,我想在

MQTT
 中获得 
JMS
 超过 
wildfly

jms wildfly mqtt activemq elytron
1个回答
0
投票

您需要设置 elytron 域或禁用安全性。我们曾经自动提供“其他”遗留域,但我们仍然认为明确是“更好”。

© www.soinside.com 2019 - 2024. All rights reserved.