-
-
Save cmoulliard/7039918 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.camel.component.cdi.CdiBeanRegistry; | |
import org.apache.camel.component.cdi.CdiInjector; | |
import org.apache.camel.impl.CompositeRegistry; | |
import org.apache.camel.impl.DefaultCamelContext; | |
import org.apache.camel.impl.JndiRegistry; | |
import org.apache.camel.impl.SimpleRegistry; | |
import org.apache.camel.spi.EventNotifier; | |
import org.apache.camel.spi.PackageScanClassResolver; | |
import org.apache.camel.spi.Registry; | |
import org.apache.log4j.Logger; | |
import org.switchyard.ServiceDomain; | |
import org.switchyard.common.camel.event.CamelEventBridge; | |
import org.switchyard.common.cdi.CDIUtil; | |
/** | |
* Extension of default camel context. Supports access to mutable registry and | |
* provides integration with SwitchYard eventing model. | |
*/ | |
public class SwitchYardCamelContext extends DefaultCamelContext { | |
/** | |
* Context property name used to store camel context as service domain property. | |
*/ | |
public static final String CAMEL_CONTEXT_PROPERTY = "CamelContextProperty"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment