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 -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.apache.camel.CamelContextgetUri()booleanhasError()org.springframework.ws.WebServiceMessagereceive(org.springframework.ws.WebServiceMessageFactory messageFactory) voidsend(org.springframework.ws.WebServiceMessage message) voidsetCamelContext(org.apache.camel.CamelContext camelContext)
-
Constructor Details
-
CamelDirectConnection
public CamelDirectConnection(org.apache.camel.CamelContext camelContext, URI uri) throws URISyntaxException - Throws:
URISyntaxException
-
-
Method Details
-
send
- 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
- Specified by:
getUriin interfaceorg.springframework.ws.transport.WebServiceConnection- Throws:
URISyntaxException
-
hasError
- Specified by:
hasErrorin interfaceorg.springframework.ws.transport.WebServiceConnection- Throws:
IOException
-
getErrorMessage
- Specified by:
getErrorMessagein interfaceorg.springframework.ws.transport.WebServiceConnection- Throws:
IOException
-
close
- 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)
-