The problem is that with JMS, we have to start connections to the broker and such that would need to be told to shutdown. You can do:
((java.io.Closeable)client).close(); and they should shutdown fine which should allow all the non-daemon connection threads to terminate and allow the vm to cleanly shutdown. Dan On Thursday, July 12, 2012 02:38:33 AM marcin.kasinski wrote: > Hello. > I have small problem with my CXF JMS async client simple program. > > Using sync invocation everything works fine: > > > > Code above executes method print response and ends program. > > Using async invocation everything works fine but does'nt ends program: > > > > > Code above executes method print response and hangs at main end. > To end program I have to end program manually at main end adding > System.exit(0); > > > The same efects I get with async Polling, async Callback. > > With HTTP transport everything works fine. > > I have this problem only with JMS and async > > Any tips how to fix it ? > > > > ----- > > Regards > Marcin Kasinski > http://itzone.com.pl > -- > View this message in context: > http://cxf.547215.n5.nabble.com/CXF-JMS-Async-Thread-problem-tp5710953.ht > ml Sent from the cxf-dev mailing list archive at Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
