var runWorkflowMessage = new RunOdysseyWorkflow() { SiteId = softcodeMessage.SiteId, NodeId = softcodeMessage.NodeId, UserId = softcodeMessage.UserId, MessageXml = deserializedMessage, WorkflowDefinitionId = "6fd1c1d6-3d73-47a0-955f-278e063d7923" } as IRunOdysseyWorkflow; bus.Send(runWorkflowMessage);
Here is the Consume method signature for my receive endpoint:
public async Task Consume(ConsumeContext<IRunOdysseyWorkflow> context)I'm not sure what I am doing wrong, any help would be appreciated.Here is a snippet of RabbitMQ routing topology:
--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
To post to this group, send email to masstransit-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/239a0aa0-95d3-4d02-93fe-d307c6612194%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If you don't know the address of the endpoint, you can call Publish. Otherwise, the endpoint address must be specified.The convention for the message type could also be sent, but that code is still experimental and not ready/documented.
On Wed, Nov 9, 2016 at 1:55 PM, jccummings1977 <jccum...@gmail.com> wrote:
I am trying to use the .Send<T>(T Message) method to send a command message. I am getting the following error.A convention for the message type Tyler.Odyssey.Wf.IRunOdysseyWorkflow was not found.The message contract interface is packaged in a NuGet and is shared by the Sender and the Consumer.Here is the send code:var runWorkflowMessage = new RunOdysseyWorkflow() { SiteId = softcodeMessage.SiteId, NodeId = softcodeMessage.NodeId, UserId = softcodeMessage.UserId, MessageXml = deserializedMessage, WorkflowDefinitionId = "6fd1c1d6-3d73-47a0-955f-278e063d7923" } as IRunOdysseyWorkflow; bus.Send(runWorkflowMessage);Here is the Consume method signature for my receive endpoint:public async Task Consume(ConsumeContext<IRunOdysseyWorkflow> context)I'm not sure what I am doing wrong, any help would be appreciated.Here is a snippet of RabbitMQ routing topology:
--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
Chris, do you mean the static mapper? At first glance it should work, looking at the code, it is not that complex...
--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
To post to this group, send email to masstransit-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/c3b45407-d208-4890-b8b3-2a6b797473d8%40googlegroups.com.