Class CamelDirectConnection
- java.lang.Object
-
- org.apache.camel.component.spring.ws.bean.CamelDirectConnection
-
- All Implemented Interfaces:
AutoCloseable,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
-
-
Constructor Summary
Constructors Constructor Description CamelDirectConnection(org.apache.camel.CamelContext camelContext, URI uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.apache.camel.CamelContextgetCamelContext()StringgetErrorMessage()URIgetUri()booleanhasError()org.springframework.ws.WebServiceMessagereceive(org.springframework.ws.WebServiceMessageFactory messageFactory)voidsend(org.springframework.ws.WebServiceMessage message)voidsetCamelContext(org.apache.camel.CamelContext camelContext)
-
-
-
Constructor Detail
-
CamelDirectConnection
public CamelDirectConnection(org.apache.camel.CamelContext camelContext, URI uri) throws URISyntaxException- Throws:
URISyntaxException
-
-
Method Detail
-
send
public void send(org.springframework.ws.WebServiceMessage message) throws IOException- Specified by:
sendin interfaceorg.springframework.ws.transport.WebServiceConnection- Throws:
IOException
-
receive
public org.springframework.ws.WebServiceMessage receive(org.springframework.ws.WebServiceMessageFactory messageFactory) throws IOException- Specified by:
receivein interfaceorg.springframework.ws.transport.WebServiceConnection- Throws:
IOException
-
getUri
public URI getUri() throws URISyntaxException
- Specified by:
getUriin interfaceorg.springframework.ws.transport.WebServiceConnection- Throws:
URISyntaxException
-
hasError
public boolean hasError() throws IOException- Specified by:
hasErrorin interfaceorg.springframework.ws.transport.WebServiceConnection- Throws:
IOException
-
getErrorMessage
public String getErrorMessage() throws IOException
- Specified by:
getErrorMessagein interfaceorg.springframework.ws.transport.WebServiceConnection- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.springframework.ws.transport.WebServiceConnection- Throws:
IOException
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext)
-
-