mt3 consumer and routingslip execute

47 views
Skip to first unread message

Brian Weeres

unread,
Apr 7, 2015, 1:38:10 PM4/7/15
to masstrans...@googlegroups.com
Given a consumer that builds a routingslip and executes it. In mt2 the IConsumeContext had the bus object so we could just go context.bus.execute(myIRoutingSlip). In MT3 The IBus interface is not in the context of a consumer anymore or any of the interfaces it supports. Short of storing the IBus in a static variable when it gets created how does one get to it from a consumer to execute a routingslip?

Thanks,
Brian

Chris Patterson

unread,
Apr 12, 2015, 11:56:11 PM4/12/15
to masstrans...@googlegroups.com
Nice catch, that should now be an extension off the ISendEndpointProvider interface, which is available on almost any of the context interfaces. I'll change that soon.


--
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-dis...@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/7f6d6adb-4a07-4fd8-bde4-f605cb12c8d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages