Hi,I've been playing around a little with the fresh bits from MassTransit-Quartz and I'm having a bit of a problem. The only method for scheduling a message that I can find is the Bus.Endpoint.ScheduleSend-method. However, it seems to send the message to the endpoint I'm currently on, not the one where the ScheduleService is listening. If instead I use something like this:Bus.GetEndpoint(typeof(ScheduleMessage)).ScheduleSend( .. );The ScheduleService picks it up just fine - but when it is time to send the scheduled message, it sends it to itself (and of course, no-one is listening there..)I seem to have a work-around that does the trick:var endpointUri = Bus.GetEndpoint(typeof(TimeoutExpired)).Address.Uri;var msg = new ScheduleMessageCommand<TimeoutExpired>(_reservationTimeout.FromNow(), endpointUri, new TimeoutExpired() {CorrelationId = CorrelationId});Bus.Publish(msg);Where ScheduleMessageCommand is a copy from the one that is found in MassTransit.QuartzIntegrationBut I have a weird feeling that this is not the way it was intended to be used... ;-)I can see that the README mentions a SchedulePublish method, but I couldn't find anything like that..?/Anders--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To post to this group, send email to masstrans...@googlegroups.com.
To unsubscribe from this group, send email to masstransit-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/masstransit-discuss/-/vN3qti5ohwEJ.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 view this discussion on the web visit https://groups.google.com/d/msg/masstransit-discuss/-/nq_NCyGwlGgJ.
--
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/msg/masstransit-discuss/-/3KoRZ6pKmlwJ.
--
You received this message because you are subscribed to a topic in the Google Groups "masstransit-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/masstransit-discuss/3EiGfpCM_YY/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to masstransit-dis...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.