The current CliClient class which Svet had wrote doesn't shutdown, you have to press Ctrl+C to exit each time invoking the Cli.main.
There is some IO thread pool which is CXF is always keeping the cli client cannot stop.
I tested it and it is not a problem. I run more than 15 clients through Apache Brooklyn and the number of threads remained 8.
RAM usage increased with about 10% only which is normal.
I have to dig first how to shutdown properly the pool of Bus objects in CXF.
I can either shutdown each Bus, when command is completed or better I want to find a hook so I can shutdown the pool of Bus objects at the end of the program.
The current
CliClientclass which Svet had wrote doesn't shutdown, you have to press Ctrl+C to exit each time invoking theCli.main.There is some IO thread pool which is CXF is always keeping the cli client cannot stop.
I tested it and it is not a problem. I run more than 15 clients through Apache Brooklyn and the number of threads remained 8.
RAM usage increased with about 10% only which is normal.
I have to dig first how to shutdown properly the pool of Bus objects in CXF.
I can either shutdown each Bus, when command is completed or better I want to find a hook so I can shutdown the pool of Bus objects at the end of the program.