activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Bertram <>
Subject Re: Broken Documentation for Embedding ActiveMQ
Date Mon, 06 Jun 2016 21:54:48 GMT
Looks like that bit of documentation got missed as the broker changed/matured.  The configuration
API is "fluent" now so the only constructors take no arguments.

I'll update the documentation.  In the mean-time you can look at the "embedded" example shipped
with Artemis.


----- Original Message -----
From: "stephan.praetsch" <>
Sent: Monday, June 6, 2016 3:13:09 PM
Subject: Broken Documentation for Embedding ActiveMQ

Hi there,

I try to use an embedded JMS broker for a unit test. I found this
documentation about  POJO instantiation - Embedding Programmatically
<>  .
Unfortunately this is incompatible to the source code (tested with
artemis-jms-server 1.2.0 and 1.0.0). 

        ConnectionFactoryConfigurationImpl cfConfig = new
                connectorConfig, "/cf");


        JMSQueueConfiguration queueConfig = new
JMSQueueConfigurationImpl("queue1", null, false,

don't have a constructor like this. They only have a non-parameter
constructor. Thus I don't know how to set the mentioned values.

Thankful for any help.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message