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 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)
-
-
-
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:
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
public URI getUri() throws URISyntaxException
- Specified by:
getUri
in interfaceorg.springframework.ws.transport.WebServiceConnection
- Throws:
URISyntaxException
-
hasError
public boolean hasError() throws IOException
- Specified by:
hasError
in interfaceorg.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
-
getErrorMessage
public String getErrorMessage() throws IOException
- Specified by:
getErrorMessage
in interfaceorg.springframework.ws.transport.WebServiceConnection
- Throws:
IOException
-
close
public void close() throws IOException
- 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)
-
-