I am new to messaging and getting ready to start on a new project and
thought to give a messaging based architecture a go. It seems like I
have been thinking about it for quite some time now but would like to
get some advice from other folks.

What I am thinking of is having a web based client (MVC3) and an app
server (console app right now). The client would talk to the service
via WCF (through Agatha-rrsl) for its queries and then use RSB for
sending commands. Agatha and RSB will be hosted in the same app.

I thought of handling it this way due to the numerous articles and
discussions on how you should NOT use messaging for queries and Agatha
works great for synchronous request/reply scenarios. I am not really
sold on the two database idea so I would like to keep both the
commands and queries looking at the same database through NHibernate.

One of the things I have not been able to get my head around though is
how to handle message validation.

Take for example the Pub/Sub sample on HibernatingRhinos
http://hibernatingrhinos.com/open-source/rhino-service-bus/api-introduction.

If the CustomerMovingCommand is not valid i.e. missing the zip, what
do you do with it? Do you throw an exception? Do you reply with an
InvalidCommand? In that case, how do you handle that on a web client
that is stateless? Every example I have seen of this is with a rich
client.

Thanks,
Joe

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to