Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camel-jbang - Fix jolokia 2.0.x not discoverable by default (4.4.x) #13646

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -62,7 +62,8 @@ public Integer doCall() throws Exception {
} else {
// find a new free port to use when starting a new connection
long port = AvailablePortFinder.getNextAvailable(8778, 10000);
options = new OptionsAndArgs(null, "--port", Long.toString(port), "start", Long.toString(pid));
options = new OptionsAndArgs(
null, "--port", Long.toString(port), "--discoveryEnabled", "true", "start", Long.toString(pid));
}
VirtualMachineHandlerOperations vmHandler = PlatformUtils.createVMAccess(options);
CommandDispatcher dispatcher = new CommandDispatcher(options);
Expand Down