org.apache.camel.component.spring.ws.bean
Class CamelDirectConnection
java.lang.Object
org.apache.camel.component.spring.ws.bean.CamelDirectConnection
- All Implemented Interfaces:
- org.springframework.ws.transport.WebServiceConnection
public class CamelDirectConnection
- extends Object
- implements org.springframework.ws.transport.WebServiceConnection
Passes wsa:replyTo message back to the camel routing
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelDirectConnection
public CamelDirectConnection(org.apache.camel.CamelContext camelContext,
URI uri)
throws URISyntaxException
- Throws:
URISyntaxException
send
public void send(org.springframework.ws.WebServiceMessage message)
throws IOException
- Specified by:
send
in interface org.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
receive
public org.springframework.ws.WebServiceMessage receive(org.springframework.ws.WebServiceMessageFactory messageFactory)
throws IOException
- Specified by:
receive
in interface org.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
getUri
public URI getUri()
throws URISyntaxException
- Specified by:
getUri
in interface org.springframework.ws.transport.WebServiceConnection
- Throws:
URISyntaxException
hasError
public boolean hasError()
throws IOException
- Specified by:
hasError
in interface org.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
getErrorMessage
public String getErrorMessage()
throws IOException
- Specified by:
getErrorMessage
in interface org.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface org.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext)
Apache Camel