Heat transport in quantum spin chains: Relevance of integrability