Re: stop CamelContext in main()

2009-05-07 Thread pevgen
p(); >>     context.close(); >> } >> >> but when the method finished then application didn't finish.  (I can >> close >> my application only with         System.exit(1) statement, but it's not >> fine) >> >> Can anybody help me ? >

Re: stop CamelContext in main()

2009-05-07 Thread Claus Ibsen
t;     context.stop(); >     context.close(); > } > > but when the method finished then application didn't finish.  (I can close > my application only with         System.exit(1) statement, but it's not > fine) > > Can anybody help me ? > > Thanks, Evgeny &

stop CamelContext in main()

2009-05-07 Thread pevgen
ose(); } but when the method finished then application didn't finish. (I can close my application only with System.exit(1) statement, but it's not fine) Can anybody help me ? Thanks, Evgeny -- View this message in context: http://www.nabble.com/stop-CamelContext-in-main%28