기본 json serializer 대신 xml serializer를 사용하기 위해 Azure에서 호스트 된 작업자 프로세스를 전환하려고합니다. 나는이 같은 IWantCustomInitialization 구현하여 이런 짓을했는지 :Azure 및 XML 직렬 변환기가있는 NServiceBus
public class BusInitialization : IWantCustomInitialization
{
public void Init()
{
Configure.Instance.XmlSerializer();
}
}
을 그러나 나는 클라우드 솔루션을 시작할 때, 나는 다음과 같은 오류 얻을 : 나는 어떤 사용자 정의 초기화를 사용하지하고 JsonSerializer에 갈 때
Exception when starting endpoint, error has been logged. Reason: Type NServiceBus.Unicast.Transport.CompletionMessage was not registered in the serializer. Check that it appears in the list of configured assemblies/types to scan.
을, 모든 것이 좋습니다. 누구는 내가 볼 곳을 제안합니까? 나는 NSB 3.2.8을 사용한다.
이브 주셔서 감사합니다. dev 브랜치도 있는데, 코드가 어떻게 작동하는지 이해할 것이다. –