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: 390

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

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 (https://cloudsso.cisco.com/as/token.oauth2).We 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
Alixx Skevington posted a discussion

Docker Windows 2019 - Neuron 3.5

Hi, We are using 3.5 for our application and I am trying to containerise it for our integration tests.  Building and deploying VM's as this is very time consuming to build and deploy.So I have decided that I to go down docker; everything in our stack has migrated nicely except Neuron.  The first issue was that I needed a later version of the 2016 image or 2019 image from MS which I have. I have managed to install MSMQ on it as well. But when I try to run a silent install everything runs.  But…See More
Apr 15, 2019

Badge

Loading…

© 2020   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service