Hello,
Just upgraded to 2.2.1.0 today and having issues with my services finding
message consumers now. I was on 1.8 before. Have this class.
public class Test :
ISaga<EtlState>,
InitiatedBy<ProcessStart>,
Orchestrates<ImportTablesCleared>
{
private readonly IServiceBus bus;
public EtlState State { get; set; }
public Guid Id { get; set; }
public bool IsCompleted { get; set; }
public Test(IServiceBus bus)
{
this.bus = bus;
}
public void Consume(ImportTablesCleared message)
{
}
public void Consume(ProcessStart message)
{
bus.Send(new ClearImportTables(message.CorrelationId,
message.Settings.Type));
}
}
The first message comes through (ProcessStart) which sends out the
ClearImportTables. It's received and sends back the ImportTablesCleared
message which is never consumed. This is what is logged though.
ERROR Rhino.ServiceBus.Impl.DefaultServiceBus [(null)] Got message
*.Controller.ImportTablesCleared, but had no consumers for it
I'm currently using the Autofac container where I have registered the Test
class. I'm considering trying a different container to see if it helps with
this issue. The Test class is in the container. It's getting the first
message so I know it's pulling it out correctly.
Any ideas?
Thanks,
Nathan Palmer
--
You received this message because you are subscribed to the Google Groups
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rhino-tools-dev?hl=en.