public void marshal(Object message, StringWriter writer) {
		long start = System.currentTimeMillis();
		Marshaller marshaller = marshallerPool.borrow();
		try {
			marshaller.marshal(message, writer);
		} catch (JAXBException e) {
			throw new XmlTransformationException("Failed to marshal xml", e);
		} finally {
			marshallerPool.release(marshaller);
		}
		if (LOG.isDebugEnabled()) {
			LOG.debug("Marshalled in: " + (System.currentTimeMillis() - start) + " ms");
		}
	}