Neuron ESB User Network

The Service Bus for the Connected Business

Now you're just talking Semantics

Semantic is one of the more estoric things in the Neuron world. If you never use the Test Client or the API you may not even know it exists...

Semantic has a couple of effects in Neuron. It controls message path and it influences blocking behavior of the Party Publishing. Most Neuron users are impacted by Semantic in the Service Endpoints.

When you use Request-Reply Messaging Pattern with a Client Connector what occurs under the covers is that the Neuron API publishes the incoming message with a Request Semantic. This will make the Party block in the Send method until it receives a reply or times out.

When you use Request-Reply Messaging Pattern with a Service Connector the Service Connector will pass on messages with a Request semantic to the target service and will ignore messages with a Multicast semantic. When you use a Datagram Messaging Pattern the reverse occurs. The Service Connector will ignore Request Semantic messages.

Controlling Semantic can let you do interesting things.. For instance you can chain service calls merely by flipping from Request to Multicast to Request...(set it to Request in the Service Connector Party's On Receive pipeline and then to Multicast in the On Publish pipeline).

If you want to play with Semantic in the API then you can use CreateReplyMessage()..

But before you go Semantic crazy pause...Do you really need to block? Multicast is asynch messaging and that's usually the way go when you have a choice. Request Reply is the pattern of choice for 90% of WS implementations but if you're using the API then you should probably consider seriously leveraging asynch patterns and architecture.

Views: 406


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



© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service