Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 479 Bytes

Readme.md

File metadata and controls

21 lines (18 loc) · 479 Bytes

JBoss Fuse

Usage

final FuseConfiguration conf = FuseConfiguration.builder().directory($FUSE_HOME).xmx("2g").build();

try (Container cont = new FuseContainer<>(conf)) {
	cont.start()
	try(Client cli = container.getClient()) {
		cli.execute("osgi:info");
	}
}

Standalone client:

try (Client client = new FuseClient<>(FuseConfiguration.builder().build())) {
	client.execute("osgi:version");
}