A heat exchanger, in particular an exhaust gas heat exchanger for a motor
vehicle, has tubes through which a first fluid can flow and around which
a second fluid can flow, and a headpiece. The headpiece includes a
dual-walls structure in at least a part thereof and a distribution
chamber that communicates with the tubes.