craiggwilson
unread,Nov 9, 2009, 1:58:48 PM11/9/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to masstransit-discuss
I'm new to mass transit, so let me describe what I have and what I
need and hopefully you can tell me how best to set it up. I have 2
different windows services running on 2 different boxes. One is the
gateway and the other is the processor.
1) The gateway is the communications service and when it receives a
datagram, it publishes a message indicating it's receipt along with
some other information. At this point, it is fire and forget. The
gateway never needs to know anything else about this message. This
works just fine.
2) The processor has subscribed to the message and processes it when
it gets received. This also works just fine.
BUT, I need to be able to take down the processor for upgrades while
leaving the gateway running. Currently, this also works because I
don't call unsubscribe() when the processor stops. Therefore, when
the processor starts up again, it gets all those receipt messages and
can process them.
My question is: is this the correct way of doing this? It seems dirty
to not call unsubscribe. Do sagas have a place here? I understand
them conceptually, but it seems like that the gateway would then care
about whether or not the receipt message was picked up.
Any ideas? thoughts? tips?