public final class SpringCamelContextFactory
extends java.lang.Object
CamelContext factory utility.| Modifier and Type | Method and Description |
|---|---|
static java.util.List<org.apache.camel.spring.SpringCamelContext> |
createCamelContextList(byte[] bytes,
java.lang.ClassLoader classsLoader)
Create a
SpringCamelContext list from the given bytes |
static java.util.List<org.apache.camel.spring.SpringCamelContext> |
createCamelContextList(java.net.URL contextUrl,
java.lang.ClassLoader classsLoader)
Create a
SpringCamelContext list from the given URL |
static org.apache.camel.spring.SpringCamelContext |
createSingleCamelContext(java.net.URL contextUrl,
java.lang.ClassLoader classsLoader)
Create a single
SpringCamelContext from the given URL |
public static org.apache.camel.spring.SpringCamelContext createSingleCamelContext(java.net.URL contextUrl,
java.lang.ClassLoader classsLoader)
throws java.lang.Exception
SpringCamelContext from the given URLjava.lang.IllegalStateException - if the given URL does not contain a single context definitionjava.lang.Exceptionpublic static java.util.List<org.apache.camel.spring.SpringCamelContext> createCamelContextList(java.net.URL contextUrl,
java.lang.ClassLoader classsLoader)
throws java.lang.Exception
SpringCamelContext list from the given URLjava.lang.Exceptionpublic static java.util.List<org.apache.camel.spring.SpringCamelContext> createCamelContextList(byte[] bytes,
java.lang.ClassLoader classsLoader)
throws java.lang.Exception
SpringCamelContext list from the given bytesjava.lang.ExceptionCopyright © 2019. All rights reserved.