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:
$Revision: 2427 $

Method Summary
static Message toCamelMessage(org.springframework.integration.core.Message springMessage)
           
static Endpoint toEndpoint(org.springframework.integration.core.MessageChannel channel)
           
static org.springframework.integration.core.Message toSpringMessage(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 Endpoint toEndpoint(org.springframework.integration.core.MessageChannel channel)
                           throws Exception
Parameters:
Spring - Integration MessageChannel
Returns:
an Camel Endpoint
Throws:
Exception

toSpringMessage

@Converter
public static org.springframework.integration.core.Message toSpringMessage(Message camelMessage)
                                                                    throws Exception
Throws:
Exception

toCamelMessage

@Converter
public static Message toCamelMessage(org.springframework.integration.core.Message springMessage)
                              throws Exception
Throws:
Exception


Apache CAMEL