--
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/72ed46d0-2b0d-4897-924f-062d4ff46eba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You connect endpoints to the Host, not the bus.
On Fri, Jul 21, 2017 at 8:29 AM, Suneeth Varghese <sune...@gmail.com> wrote:
Hi,Can anyone give me an example of how i can add additional end points after the bus has started.Is it possible in MT 3 ? So far i could find this https://github.com/MassTransit/MassTransit/blob/bfaf70bcf3459c12498af5aa748602216769d229/docs/usage/connect-endpoint.mdBut not able to find any ConnectReceiveEndpoint like i see in the usage.
--
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.
Thanks Chris,I had to upgrade from v3.4.1 to 3.5.7 to be able to see ConnectReceiveEndPoint shown in your example. Didn't realize its not available in version i was using.
On Friday, July 21, 2017 at 12:22:18 PM UTC-4, Chris Patterson wrote:
You connect endpoints to the Host, not the bus.
On Fri, Jul 21, 2017 at 8:29 AM, Suneeth Varghese <sune...@gmail.com> wrote:
Hi,Can anyone give me an example of how i can add additional end points after the bus has started.Is it possible in MT 3 ? So far i could find this https://github.com/MassTransit/MassTransit/blob/bfaf70bcf3459c12498af5aa748602216769d229/docs/usage/connect-endpoint.mdBut not able to find any ConnectReceiveEndpoint like i see in the usage.
--
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+unsubscribe...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/72ed46d0-2b0d-4897-924f-062d4ff46eba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/b6eb7461-3e11-497e-ab27-cd83e4fed4ee%40googlegroups.com.
You connect endpoints to the Host, not the bus.
On Fri, Jul 21, 2017 at 8:29 AM, Suneeth Varghese <sune...@gmail.com> wrote:
Hi,Can anyone give me an example of how i can add additional end points after the bus has started.Is it possible in MT 3 ? So far i could find this https://github.com/MassTransit/MassTransit/blob/bfaf70bcf3459c12498af5aa748602216769d229/docs/usage/connect-endpoint.mdBut not able to find any ConnectReceiveEndpoint like i see in the usage.
--
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.
Did you ever solved this error?
TConsumer consumer = (TConsumer)serviceProvider.GetService(typeof(TConsumer));
string queueName = typeof(TConsumer).Name.Replace("Consumer", "");
var handle = host.ConnectReceiveEndpoint(queueName, e => { e.Consumer(() => consumer); });