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
URISyntaxException
public void send(org.springframework.ws.WebServiceMessage message) throws IOException
send
in interface org.springframework.ws.transport.WebServiceConnection
IOException
public org.springframework.ws.WebServiceMessage receive(org.springframework.ws.WebServiceMessageFactory messageFactory) throws IOException
receive
in interface org.springframework.ws.transport.WebServiceConnection
IOException
public URI getUri() throws URISyntaxException
getUri
in interface org.springframework.ws.transport.WebServiceConnection
URISyntaxException
public boolean hasError() throws IOException
hasError
in interface org.springframework.ws.transport.WebServiceConnection
IOException
public String getErrorMessage() throws IOException
getErrorMessage
in interface org.springframework.ws.transport.WebServiceConnection
IOException
public void close() throws IOException
close
in interface AutoCloseable
close
in interface org.springframework.ws.transport.WebServiceConnection
IOException
public org.apache.camel.CamelContext getCamelContext()
public void setCamelContext(org.apache.camel.CamelContext camelContext)
Apache Camel