public class CamelMainSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CAMEL_DATAFORMAT_PROPERTIES_PREFIX |
| Constructor and Description |
|---|
CamelMainSupport(Map<String,String> props,
String fromUrl,
String toUrl,
String marshal,
String unmarshal) |
CamelMainSupport(Map<String,String> props,
String fromUrl,
String toUrl,
String marshal,
String unmarshal,
org.apache.camel.CamelContext camelContext) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.ConsumerTemplate |
createConsumerTemplate() |
org.apache.camel.ProducerTemplate |
createProducerTemplate() |
org.apache.camel.Endpoint |
getEndpoint(String uri) |
Collection<org.apache.camel.Endpoint> |
getEndpoints() |
org.apache.camel.catalog.RuntimeCamelCatalog |
getRuntimeCamelCatalog() |
void |
start() |
void |
stop() |
public static final String CAMEL_DATAFORMAT_PROPERTIES_PREFIX
public CamelMainSupport(Map<String,String> props, String fromUrl, String toUrl, String marshal, String unmarshal) throws Exception
Exceptionpublic void stop()
public org.apache.camel.ProducerTemplate createProducerTemplate()
public org.apache.camel.Endpoint getEndpoint(String uri)
public Collection<org.apache.camel.Endpoint> getEndpoints()
public org.apache.camel.ConsumerTemplate createConsumerTemplate()
public org.apache.camel.catalog.RuntimeCamelCatalog getRuntimeCamelCatalog()
Copyright © 2020 The Apache Software Foundation. All rights reserved.