org.apache.camel.component.spring.integration.converter
Class SpringIntegrationConverter

java.lang.Object
  extended by org.apache.camel.component.spring.integration.converter.SpringIntegrationConverter

@Converter
public final class SpringIntegrationConverter
extends Object

The Type Converters for turning the Spring Integration types into Camel native type.

Version:

Method Summary
static org.apache.camel.Message toCamelMessage(org.springframework.integration.Message<?> springMessage)
           
static org.apache.camel.Endpoint toEndpoint(org.springframework.integration.MessageChannel channel)
           
static org.springframework.integration.Message<?> toSpringMessage(org.apache.camel.Message camelMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toEndpoint

@Converter
public static org.apache.camel.Endpoint toEndpoint(org.springframework.integration.MessageChannel channel)
                                            throws Exception
Throws:
Exception

toSpringMessage

@Converter
public static org.springframework.integration.Message<?> toSpringMessage(org.apache.camel.Message camelMessage)
                                                                  throws Exception
Throws:
Exception

toCamelMessage

@Converter
public static org.apache.camel.Message toCamelMessage(org.springframework.integration.Message<?> springMessage)
                                               throws Exception
Throws:
Exception


Apache Camel