On Mon, Mar 4, 2013 at 12:48 PM, helander <[email protected]> wrote:
> JBoss AS 7 (version 7.1.1 Final)
>
> I do not use any Spring.
>
> Context#1:
>    Singleton EJB. The bean class extends DefaultCamelContext
>
> Context#2:
>    SessionScoped CDI bean. The bean class extends DefaultCamelContext
>
>
> All deployed by a single WAR.
>

You would need to make sure that the CamelContext is stopped when your
applications is stopped.
eg call the .stop() method on your CamelContext instance.



>
> Thanks
>
> Lars
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-contexts-not-removed-when-WAR-deployed-on-JBoss-AS-7-tp5728435p5728444.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to