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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
org.apache.camel.CamelContext
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)
-
Constructor Details
-
CamelDirectConnection
public CamelDirectConnection(org.apache.camel.CamelContext camelContext, URI uri) throws URISyntaxException - Throws:
URISyntaxException
-
-
Method Details
-
send
- Specified by:
send
in interfaceorg.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
-
receive
public org.springframework.ws.WebServiceMessage receive(org.springframework.ws.WebServiceMessageFactory messageFactory) throws IOException - Specified by:
receive
in interfaceorg.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
-
getUri
- Specified by:
getUri
in interfaceorg.springframework.ws.transport.WebServiceConnection
- Throws:
URISyntaxException
-
hasError
- Specified by:
hasError
in interfaceorg.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
-
getErrorMessage
- Specified by:
getErrorMessage
in interfaceorg.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceorg.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext() -
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext)
-