Neuron ESB User Network

The Service Bus for the Connected Business

CM

More on the Semantic and and the Service Connector

Sometimes it's efficacious to attach a pipeline unconditionally to the Party's On Client Receive in a Service Connector that uses the SetProperty step to always set the Semantic to "Request" even if the Messaging Pattern in the connector is already set to Request-Reply.

Why would you do that? Well, if the message came from a Client Connector the Semantic is likely already set correctly so this doesn't really do anything.. But if the message came from an Adapter or Pipeline that has published the message as Multicast then this will ensure the the Service Connector sends the message to the target service. Recall that a Service Connector with a Request-Reply message pattern will consume a Multicast message but will not pass it on because a Multicast Semantic maps to Datagram Messaging Pattern and a Request .Semantic maps to a Reques-Reply Messaging Pattern.

This pattern is also very good for asynch peel off and notifications in a Client Connector. You can publish Multicast in the Client Connector and go about your business without blocking. The Service Connector Party will correct the Semantic for it's Messaging Pattern and away you go!

Now Ideally, the target service you're peeling off to would be using IsOneWay=true so you wouldn't have to mess with such things but the fact is most services are Request-Reply and you don't always control the code.

Using this pattern lets you deal with synchronous services in an asynch manner and not block the publisher which is ideal for doing such things as logging or business activity monitoring.

Views: 17

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