Neuron ESB User Network

The Service Bus for the Connected Business

A lot of times I'll see this pattern in web services calls bool DoSomething(SomeObject foo). Usually, when I dig in there's not any actual code that returns false...If an exception is thrown then it never gets to "return true".

Other times they will switch the return value to void but still refuse to mark the contract as one way.

What's at the root of these behaviors? Distrust. Basically, there is a complete distrust of asynchorous operations and processes.

Which is weird when you think about it...We do tons of stuff every day that's meaningful and asynchrous. Ever do a transfer with a bank online and all you see when you navigate to the next page is a message saying thanks, we'll get to it! Ever use an event handler? Ajax? Email? Heck if you ask me email works too well..

Now some of the clever among you who have this distrust syndrome may say things like "Whoa! SMTP has all kinds of handshakes!"..My reply is don't pretend you think about those and don't pretend you use BeginInvoke and EndInvoke to make your own programs that invoke blocking operations more responsive.

Yet, you'll fire off your emails and if the server accepts your message you go about your business and trust that eventually you'll be answered.

Not only that but you trust you can send them to DL which is an abstraction of any number of people many of whom you don't know at the time you send the email...That abstraction should sound familiar to Neuron users.

I don't know about you but I literally can't remember the last time I sent a meaningful email that wasn't answered. It may not have been answered as fast as I wanted it to be but it was answered.

So how many processes in your organization could work the same way? How many really need to block everything?

Do me a favor, the next time you get to build a solution start with a simple rule. All Client Connectors and Service Connectors will use Datagram and proxies and services will be marked one way...

I think you'll surprise yourself by all the cool things you'll figure out can be done under these restrictions and how easy it is to add new steps to the process...All you'll need to start is a little trust...

Views: 0

Comment

You need to be a member of Neuron ESB User Network to add comments!

Join Neuron ESB User Network

Neuron ESB Product Support Forums and Communities

Latest Activity

Profile Icon

Sending messages to a Client Connector from an C# Console App

I have an issue with sending messages to a Client Connector from a C# test app. The main issue is that  i never receive a response from Neuron and the Connection Times out. I'm using the sample code from the Scatter-Gather Pattern sample included in the documentation If anybody has any hints on what i'm missing, it would be appreciated.static class Utility {const string _propName = "NeuronServiceList";const string _ns = "urn:xmlns:neuronesb-com:soapheaders";const string _msg = @"…See More
Discussion posted by John Ryan Friday
Profile Icon
ThumbnailThumbnail
AMS and John Ryan joined Neuron ESB User Network Friday
Profile Icon

Scalability MSMQ & Deployment Groups

I have been trying to work out how to configure MSMQ for high availaibility. I think that I need to use Zones, & Deployment Groups to configure the server deployment.  But I am unsure how  I would go about this and what the perfromance impacts are. So let me give you the scenario that I am looking at and you can then point me in teh direction of resources that I need to be able to resolve it. I have 3 High throughput topics that need reliable messaging Service1Service2Service3 Each of these…See More
Discussion posted by Alixx Skevington Feb 7
Profile Icon
Alixx Skevington is now a member of Neuron ESB User Network Feb 6
Profile Icon
Umesh Kumar Maurya is now a member of Neuron ESB User Network Jan 24
Profile Icon
David Gnabasik is now a member of Neuron ESB User Network Dec 16, 2011
Profile Icon

Explanation of Pipelines

Hi Guys,               I need more documentation/info on how pipelines work. It appears that a context is the message that is passing though the pipeline. I want to use a code step to generate a new message to that will be passed to a service step. But I can not find any detail on how to use the context object. Regards,                   AlistairSee More
Discussion posted by Alistair Rigney Dec 7, 2011
Profile Icon
Alistair Rigney is now a member of Neuron ESB User Network Nov 25, 2011

Badge

Loading…

© 2012   Created by Neuron Admin.   Powered by .

Badges  |  Report an Issue  |  Terms of Service