package at.gv.egiz.moazs.config; import at.gv.egiz.moazs.scheme.Marshaller; import at.gv.egiz.moazs.scheme.MoaZSPrefixMapper; import com.sun.xml.bind.marshaller.NamespacePrefixMapper; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.oxm.jaxb.Jaxb2Marshaller; import java.util.HashMap; @Configuration public class MarshallerConfig { @Bean public Marshaller mzsMarshaller() { return new Marshaller(true); } @Bean public Marshaller msgMarshaller() { return new Marshaller(false); } }