Note that there are some explanatory texts on larger screens.

plurals
  1. PONServiceBus IHandleTimeouts throws SagaNotFoundHandlers
    primarykey
    data
    text
    <p>I am trying to use the NServiceBus 3.0 ITimeoutState and IHandleTimeouts feature in my Saga. I have the following code snip. The following code working fine without any issue on NServiceBus.3.0.0-rc5. But, when i updated the DLLs with any version > 3.0.0 the saga timeout is not working as expected and it is throwing the following warning!</p> <p>2012-04-05 09:15:26,267 [Worker.5] INFO NServiceBus.Sagas.Impl.SagaDispatcherFactory [(null)] &lt;(null)> - Could not find a saga for the message type SomeNameSpace.MySagaTimeout with id 9496c29e-f745-4ada-8212-99e47324922b\20920. Going to invoke <strong>SagaNotFoundHandlers</strong>.</p> <p>Please help me to resolve this issue.</p> <p><strong>The TimeoutMessage:</strong></p> <pre><code>public class MySagaTimeout : ITimeoutState { public InputMessage1 Source { get; set; } } </code></pre> <p><strong>The Saga Code:</strong></p> <pre><code>public class BrandMerchandisingRoot : Saga&lt;MySagaState&gt;, IAmStartedByMessages&lt;InputMessage1&gt;, IHandleTimeouts&lt;MySagaTimeout&gt;, IHandleMessages&lt;MySagaTimeout&gt; { public void Handle(InputMessage1 message) { RequestUtcTimeout(5.Seconds(), new MySagaTimeout {Source = message}); } public void Timeout(MySagaTimeout state) { //some other code here } public void Handle(MySagaTimeout message) { Timeout(message); } } </code></pre> <p><strong>The Configuration:</strong></p> <pre><code>Configure.With() .StructureMapBuilder(ObjectFactory.Container) .RunTimeoutManager() .UseInMemoryTimeoutPersister() .MsmqSubscriptionStorage() .Sagas() .UnicastBus(); </code></pre> <p>NOTE: I am using my own saga persister and I have the implementation for <i>IFindSagas&lt;MySagaState>.Using&lt;MySagaTimeout></i></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload