Quick follow up question, I was poking around in the documentation
(hey nice theming!)
https://qpid.apache.org/releases/qpid-java-6.0.0/java-broker/book/Java-Broker-Management-Channel-REST-API.html
And saw that the JMX endpoint is going away eventually. Is this scheduled yet?

I also noticed that the REST endpoints (according to the docs) lacks
the ability to get statistics on topics, channels, etc. Those are
available via JMX for bytes in/out/dropped, messages in/out/dropped,
queue depths, consumer counts, etc. Is there a plan to add this to the
REST endpoints?

On Sat, Oct 7, 2017 at 11:14 AM, Alex O'Ree <alexo...@apache.org> wrote:
> Sorry, hit send too quickly
>
> if I uncomment
>     options.setManagementModeJmxPortOverride(9099);
> it appears to have no affect on the JMX listener starting up.
>
> Any recommendations on how to enable it programmatically?
> using qpid version 6.0.0
>
>
> On Sat, Oct 7, 2017 at 11:12 AM, Alex O'Ree <alexo...@apache.org> wrote:
>> Hello qpid community.
>>
>> I have a product that integrates with Qpid and have happily been
>> running integration tests with it without much of a fuss.  In the
>> past, I've written to this mailing list on how to attach qpid's java
>> server as a maven dependency and start it up programmatically in a
>> unit test, then destroy it when the tests is complete. This is working
>> as expected.
>>
>> I now am trying to get the JMX points of Qpid up and running using the
>> same mechanism (programmatically starting qpid during a unit test).
>> I'm currently starting qpid using the following.
>>
>> org.apache.qpid.server.Broker broker2 = new Broker();
>> BrokerOptions options = new BrokerOptions();
>> options.setOverwriteConfigurationStore(true);
>> //options.setManagementModeHttpPortOverride(9090);
>> //options.setManagementModeJmxPortOverride(9099);
>> //options.setManagementMode(false);
>> options.setStartupLoggedToSystemOut(true);
>> String file=new File(".").getAbsolutePath() + File.separator + "config.json";
>> options.setConfigurationStoreLocation(file);
>> broker2.startup(options);
>>
>> if I set
>>     options.setManagementMode(true);
>> qpid doesn't appear to accept connections (not sure why)
>>
>> if i uncomment

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to