Hide
Actually, in the Embedded.stop() method, a JoramService is recreated : we do not use the joramService field !
Ends with the following Exception :
java.lang.IllegalStateException: Cannot stop a server as it was not started
at org.objectweb.easybeans.jms.joram.JoramService.stop(JoramService.java:286)
at org.objectweb.easybeans.server.Embedded.stop(Embedded.java:308)
....
Show
Actually, in the Embedded.stop() method, a JoramService is recreated : we do not use the joramService field !
Ends with the following Exception :
java.lang.IllegalStateException: Cannot stop a server as it was not started
at org.objectweb.easybeans.jms.joram.JoramService.stop(JoramService.java:286)
at org.objectweb.easybeans.server.Embedded.stop(Embedded.java:308)
....