エンドポイントBus.Reply()
で で送信されたメッセージを処理するとBus.SendLocal()
、次のエラー メッセージが表示され、メッセージが失敗します。
2013-02-28 13:54:16,994 [Worker.15] WARN NServiceBus.Unicast.Transport.Transact
ional.TransactionalTransport [(null)] <(null)> - Failed raising 'transport messa
ge received' event for message with ID=42e4b3ed-d0a2-4ab0-acfb-3531d8dafa3e\2056
7
NServiceBus.Unicast.Transport.TransportMessageHandlingFailedException: Exception
of type 'NServiceBus.Unicast.Transport.TransportMessageHandlingFailedException'
was thrown.
at NServiceBus.Unicast.UnicastBus.HandleTransportMessage(IBuilder childBuilde
r, TransportMessage msg) in c:\BuildAgent\work\nsb.master_6\src\unicast\NService
Bus.Unicast\UnicastBus.cs:line 1331
at NServiceBus.Unicast.UnicastBus.TransportMessageReceived(Object sender, Tra
nsportMessageReceivedEventArgs e) in c:\BuildAgent\work\nsb.master_6\src\unicast
\NServiceBus.Unicast\UnicastBus.cs:line 1248
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at NServiceBus.Unicast.Transport.Transactional.TransactionalTransport.OnTrans
portMessageReceived(TransportMessage msg) in c:\BuildAgent\work\nsb.master_6\src
\impl\unicast\transport\NServiceBus.Unicast.Transport.Transactional\Transactiona
lTransport.cs:line 480
これが私の構成です:
Configure
.With(AllAssemblies.Except("evointernal.dll")) // This is a COM assembly and should not be scanned.
.StructureMapBuilder(ObjectFactory.Container)
.JsonSerializer()
.UnicastBus().DoNotAutoSubscribe()
.Sagas();