On Wed, Apr 27, 2016 at 1:16 PM, Jean-Baptiste Onofré <[email protected]> wrote: > The easiest way is to not install the management feature. > > Else, you can take a look on the KarafTestSupport where we use > getAvailablePort() method.
I've got plenty of technology for stuffing random ports into cfg files in Maven, thanks. I'll go ahead with that. > > Regards > JB > > > On 04/27/2016 07:09 PM, Benson Margulies wrote: >> >> I'm using pax-exam to test a karaf assembly that contains the >> management feature. Is there some way to disable all the JMX without >> uninstalling the feature, or do I need to just randomize the ports? >> > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com
