Class 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
    • Method Detail

      • send

        public void send​(org.springframework.ws.WebServiceMessage message)
                  throws IOException
        Specified by:
        send in interface org.springframework.ws.transport.WebServiceConnection
        Throws:
        IOException
      • receive

        public org.springframework.ws.WebServiceMessage receive​(org.springframework.ws.WebServiceMessageFactory messageFactory)
                                                         throws IOException
        Specified by:
        receive in interface org.springframework.ws.transport.WebServiceConnection
        Throws:
        IOException
      • hasError

        public boolean hasError()
                         throws IOException
        Specified by:
        hasError in interface org.springframework.ws.transport.WebServiceConnection
        Throws:
        IOException
      • getErrorMessage

        public String getErrorMessage()
                               throws IOException
        Specified by:
        getErrorMessage in interface org.springframework.ws.transport.WebServiceConnection
        Throws:
        IOException
      • close

        public void close()
                   throws IOException
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface org.springframework.ws.transport.WebServiceConnection
        Throws:
        IOException
      • getCamelContext

        public org.apache.camel.CamelContext getCamelContext()
      • setCamelContext

        public void setCamelContext​(org.apache.camel.CamelContext camelContext)