Resource
to load from the classpath using Camels ClassResolver
which ensures loading resources works in OSGi and other containers.WebsocketComponent.mbContainer
and registers the container with itself as a managed bean
logging an error if there is a problem starting the container.Apache Camel