public class CamelNotificationService extends Object implements org.apache.camel.CamelContextAware, org.springframework.beans.factory.DisposableBean, Runnable
| Modifier and Type | Class and Description |
|---|---|
class |
CamelNotificationService.CamelMessage |
| Constructor and Description |
|---|
CamelNotificationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
org.apache.camel.CamelContext |
getCamelContext() |
void |
queueMessagesWithBodyAndHeaders(String target,
Object body,
Map<String,Object> headers) |
void |
registerRoute(org.apache.camel.RoutesBuilder routesBuilder) |
void |
run() |
void |
sendMessagesWithBodyAndHeaders(String target,
Object body,
Map<String,Object> headers) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setQueueProcessorFrequency(long queueProcessorFrequency) |
void |
setQueueProcessorThreadName(String queueProcessorThreadName) |
public void setQueueProcessorThreadName(String queueProcessorThreadName)
public void setQueueProcessorFrequency(long queueProcessorFrequency)
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic void sendMessagesWithBodyAndHeaders(String target, Object body, Map<String,Object> headers)
public void queueMessagesWithBodyAndHeaders(String target, Object body, Map<String,Object> headers)
public void registerRoute(org.apache.camel.RoutesBuilder routesBuilder)
throws Exception
Exceptionpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.