public class CamelDirectConnection extends Object implements org.springframework.ws.transport.WebServiceConnection
| Constructor and Description |
|---|
CamelDirectConnection(org.apache.camel.CamelContext camelContext,
URI uri) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.camel.CamelContext |
getCamelContext() |
String |
getErrorMessage() |
URI |
getUri() |
boolean |
hasError() |
org.springframework.ws.WebServiceMessage |
receive(org.springframework.ws.WebServiceMessageFactory messageFactory) |
void |
send(org.springframework.ws.WebServiceMessage message) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
public CamelDirectConnection(org.apache.camel.CamelContext camelContext,
URI uri)
throws URISyntaxException
URISyntaxExceptionpublic void send(org.springframework.ws.WebServiceMessage message)
throws IOException
send in interface org.springframework.ws.transport.WebServiceConnectionIOExceptionpublic org.springframework.ws.WebServiceMessage receive(org.springframework.ws.WebServiceMessageFactory messageFactory)
throws IOException
receive in interface org.springframework.ws.transport.WebServiceConnectionIOExceptionpublic URI getUri() throws URISyntaxException
getUri in interface org.springframework.ws.transport.WebServiceConnectionURISyntaxExceptionpublic boolean hasError()
throws IOException
hasError in interface org.springframework.ws.transport.WebServiceConnectionIOExceptionpublic String getErrorMessage() throws IOException
getErrorMessage in interface org.springframework.ws.transport.WebServiceConnectionIOExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in interface org.springframework.ws.transport.WebServiceConnectionIOExceptionpublic org.apache.camel.CamelContext getCamelContext()
public void setCamelContext(org.apache.camel.CamelContext camelContext)
Apache Camel