[
https://issues.apache.org/jira/browse/ARTEMIS-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17830054#comment-17830054
]
Mark Raynsford commented on ARTEMIS-4403:
-----------------------------------------
I have the same problem.
For now, the only option is to use Maven Shade (or equivalent) to pack all of
the artemis artifacts into a single jar file, and use Moditect (or equivalent)
to inject a module descriptor that exposes the parts you have to interact with.
It's not great.
> Embedding Artemis MQTT broker in Java module application (JPMS)
> ----------------------------------------------------------------
>
> Key: ARTEMIS-4403
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4403
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Components: MQTT
> Affects Versions: 2.30.0
> Reporter: nicolasbelanger
> Priority: Major
> Labels: artemis, embedded, jpms
>
> I am looking to embed Artemis MQ in an application that is implemented as
> java modules (JPMS). The intent is to use the MQTT component. I am following
> the instructions here:
> [https://activemq.apache.org/components/artemis/documentation/latest/embedding-activemq.html]
> In my attempt, it turns out that there are split packages causing compile
> time error to be thrown. org.apache.activemq.artemis.spi.core.remoting is one
> example of such.
> So Artemis as it is now doesn't seem to be embeddable in a JPMS application.
> Is that really the case or am I missing something? If so, are there plans to
> address this?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)