--To view this discussion on the web visit https://groups.google.com/d/msg/masstransit-discuss/-/-5TMFLD2SUsJ.
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.
For more options, visit this group at http://groups.google.com/group/masstransit-discuss?hl=en.
--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To send:bus.GetEndpoint(new Uri("msmq://localhost/thequeue")).Send(msg);Publish is a broadcast, it will go to all subscribersSend is point to point it goes to one person even if others are subscribed.What I hear you saying you want isbus.Send(msg)If that is correct, where would it go?
-d
On Wed, May 2, 2012 at 7:55 AM, yreynhout <> wrote:
Just to add to that: Is masstransit opnionated about Send vs Publish or does it simply not care (compared to e.g. NSB)? Why would one use the former vs the latter? As far as I've understood Publish routes messages types based on known subscriptions, whereas Send routes messages to the endpoint it is invoked on.Regards,Yves.To view this discussion on the web visit https://groups.google.com/d/msg/masstransit-discuss/-/-5TMFLD2SUsJ.
On Wednesday, May 2, 2012 12:53:59 PM UTC+2, yreynhout wrote:--Hi,simple newbie Q: How do I resolve the endpoint to send a given message type to without resorting to putting hard-coded Uri's in my code (or having custom config ripple up to the "sender") ?I found some mention of it here, but it seems a tad out-dated since IEndpointResolver is not even a type anymore (in 2.5.0 pre-release). I presume it got replaced by IEndpointCache on the bus. The only thing that somewhat "smells" like that functionality is bus.OutboundPipeline.Dispatch<TMessage>(..); but I doubt that's the right direction.http://readthedocs.org/docs/masstransit/en/latest/configuration/gotchas.html?highlight=send
To be clear, I don't want to publish, I want to send. Maybe I'm thrown off by the Publish method on the bus (which triggers pub/sub for "event" style messages in my mind). I'd like to hear an answer in case of both dynamic and static routing. I'm stuck with MSMQ (so don't try to sell me a rabbit in a hat).Regards,Yves.
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To post to this group, send email to masstransit-discuss@googlegroups.com.
To unsubscribe from this group, send email to masstransit-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/masstransit-discuss/-/3GCXaApfAMcJ.
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/-/3GCXaApfAMcJ.
To post to this group, send email to masstrans...@googlegroups.com.
To unsubscribe from this group, send email to masstransit-dis...@googlegroups.com.
What I am hearing is a desire for a 'virtual address' its something I have toyed w/ implementing, and is easily built using just config files.you want bus.Send(msg)- in that send message a look up needs to be done- assumes that each message type only has one consumer- inside the send you just look up the uri by message type- then call the original send with uri and messagedoes that make sense?-d
-d
To unsubscribe from this group, send email to masstransit-discuss+unsubscribe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/masstransit-discuss/-/3St-2IY-wM0J.
To post to this group, send email to masstrans...@googlegroups.com.
To unsubscribe from this group, send email to masstransit-dis...@googlegroups.com.
Message Type -> Uri is there, it's called Publish, and it's by convention.
Maybe I am not understanding what you are trying to do.
-d
To unsubscribe from this group, send email to masstransit-discuss+unsubscribe...@googlegroups.com.
-d
To unsubscribe from this group, send email to masstransit-discuss+unsubscribe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/masstransit-discuss/-/c-NreP93-tcJ.
To post to this group, send email to masstrans...@googlegroups.com.
To unsubscribe from this group, send email to masstransit-dis...@googlegroups.com.
RabbitMQ supports the required flag.
I think we should allow for a transport specific configurator in the Action<IPublishContext<T>>. If you send a pull request I will review it.
The subscription service could probably be configured pretty easily to send a message to any app that published to the void...