Neuron ESB User Network

The Service Bus for the Connected Business

Services Aggregation with Neuron ESB today and tomorrow

Many users are familiar with utilizing Neuron for Location Transparency and Services Mediation as well as standard EAI. And, a fair number of users are familiar with using Neuron's pipeline features such as WF or Notifications or Transformation.

Very few users however are aware that you can achieve patterns with Neuron that seem to require a classic orchestration engine. I was asked recently about one of those patterns Scatter-Gather and provided a solution that was targeted to that particular use case.

I realized that this solution was not immediately intuitive because Neuron is a more obvious Messaging Engine today than it is an EIP engine and decided that I would build a more generalized example so that more folks would understand how to do such things.

I've uploaded the code so that you can work with it yourselves but the basic pattern works like this. The Party in the Client Connector contains a WF which splits the incoming request and uses a proxy for the original Party to run pipelines which use CBR to determine message paths and action and then publishes the requests to the bus with Semantic.Request.

Did you catch that? When you read the code and the ESB you'll see it's simpler than that Faulkneresque sentence.

The replies are then gathered and returned to the bus with a Semantic.Reply.

So, essentially it's a Party in a Client Connector using a WF to talk to the bus and itself!

That's today.

In the land of tomorrow... which is coming very soon some EIPs will be baked into our new services engine and you will be able to compose solutions graphically. In addition, our fearless leader Marty Wasznicky has targeted persisted WF for the 3rd qtr. So many classic orchestrations and long running process scenarios will be available within the year.

We're not losing our roots though. Neuron was built with messaging in mind and the mad scientist Mr. Jesse Ezell has been hitting some numbers that will make fans of speed stand up...

Anyways, before I get too excited back to today....Please run the scenario by first unpacking the Zip and loading the aggregotor.esb in offline mode. Make sure you fix up the path to the WF in the integration tab if it differs. Fix the references to link to your ESB, compile and hit CTRL-F5 to start the example services. Finally switch your active .esb to point to aggregator.esb and you should be ready to go to test view in VS and choose RunExample.

This is a somewhat advanced scenario so feel free to ask questions...There's actually code in there to do aggregation in the WF with our Client Connectors instead of the .NET API and you can also add multicasting with one line but I’ll leave those as the dreaded exercise for the reader!

The code is here:

Views: 149


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 IconChad Parsons, Will Hitzges, michael larsen and 4 more joined Neuron ESB User Network
Jun 11
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019
Suman vadde is now a member of Neuron ESB User Network
Dec 16, 2019
Morten Andreasen is now a member of Neuron ESB User Network
Dec 9, 2019
Profile IconCarl Porch, Cordier, Lahbib Marouan and 4 more joined Neuron ESB User Network
Nov 18, 2019
Miroslav Jelev posted a discussion

Using unsupported OAuth provider

Is it possible to create a custom OAuth provider?  Specifically, we are working with Cisco ( have a requirement to integrate with a Cisco soap server which uses OAuth2 for authentication. We are using a Service Connector to send a message to the SOAP service, but we need to write custom code in a business process to authenticate with their Cisco OAuth provider. We saw that Neuron supports…See More
Jul 29, 2019
Profile Iconchris comer, Fahd EL YOUBI, Vishal Misal and 2 more joined Neuron ESB User Network
May 16, 2019



© 2021   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service