// Implementation methods
//-------------------------------------------------------------------------
protected boolean transform(MessageExchange exchange, NormalizedMessage in, NormalizedMessage out) throws MessagingException {
XMLDocument document = createXSQLDocument(exchange, in);
XSQLRequest request = createXSQLRequest(exchange, in, document);
Document response = request.processToXML();
out.setContent(new DOMSource(response));
return true;
}