public class MessagingServiceImpl<T> extends java.lang.Object implements org.springframework.context.ApplicationContextAware, MessagingService, org.apache.camel.CamelContextAware
| Constructor and Description |
|---|
MessagingServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.CamelContext |
getCamelContext() |
void |
inspectBody(org.apache.camel.Exchange exchange) |
void |
inspectHeaders(org.apache.camel.Exchange exchange) |
void |
inspectMessage(org.apache.camel.Exchange exchange) |
void |
inspectProperties(org.apache.camel.Exchange exchange) |
void |
sendInOnlyMessage(java.util.Map properties,
java.util.Map headers,
java.lang.Object body,
java.lang.String endpoint) |
com.google.common.util.concurrent.ListenableFuture |
sendInOutMessageGeneric(java.util.Map properties,
java.util.Map headers,
java.lang.Object body,
java.lang.String endpoint)
This method shall be used for Request-Reply messaging.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setProducerTemplate(org.apache.camel.ProducerTemplate producerTemplate) |
public com.google.common.util.concurrent.ListenableFuture sendInOutMessageGeneric(java.util.Map properties,
java.util.Map headers,
java.lang.Object body,
java.lang.String endpoint)
sendInOutMessageGeneric in interface MessagingServiceproperties - headers - body - endpoint - public void inspectMessage(org.apache.camel.Exchange exchange)
inspectMessage in interface MessagingServicepublic void inspectProperties(org.apache.camel.Exchange exchange)
inspectProperties in interface MessagingServicepublic void inspectBody(org.apache.camel.Exchange exchange)
public void inspectHeaders(org.apache.camel.Exchange exchange)
inspectHeaders in interface MessagingServicepublic void sendInOnlyMessage(java.util.Map properties,
java.util.Map headers,
java.lang.Object body,
java.lang.String endpoint)
sendInOnlyMessage in interface MessagingServicepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setProducerTemplate(org.apache.camel.ProducerTemplate producerTemplate)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2019. All Rights Reserved.