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: AggregationViaWFExample.zip

Views: 177

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

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
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

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service