public final class SpringCamelContextFactory extends Object
CamelContext factory utility.| Modifier and Type | Method and Description |
|---|---|
static List<org.apache.camel.spring.SpringCamelContext> |
createCamelContextList(byte[] bytes,
ClassLoader classsLoader)
Create a
SpringCamelContext list from the given bytes |
static List<org.apache.camel.spring.SpringCamelContext> |
createCamelContextList(URL contextUrl,
ClassLoader classsLoader)
Create a
SpringCamelContext list from the given URL |
static org.apache.camel.spring.SpringCamelContext |
createSingleCamelContext(URL contextUrl,
ClassLoader classsLoader)
Create a single
SpringCamelContext from the given URL |
public static org.apache.camel.spring.SpringCamelContext createSingleCamelContext(URL contextUrl, ClassLoader classsLoader) throws Exception
SpringCamelContext from the given URLIllegalStateException - if the given URL does not contain a single context definitionExceptionpublic static List<org.apache.camel.spring.SpringCamelContext> createCamelContextList(URL contextUrl, ClassLoader classsLoader) throws Exception
SpringCamelContext list from the given URLExceptionpublic static List<org.apache.camel.spring.SpringCamelContext> createCamelContextList(byte[] bytes, ClassLoader classsLoader) throws Exception
SpringCamelContext list from the given bytesExceptionCopyright © 2016. All rights reserved.