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.

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

Maurice Gordon and Kenneth Russo joined Neuron ESB User Network
on Friday
nicolemdrayton is now a member of Neuron ESB User Network
March 7
Boris Ilijic is now a member of Neuron ESB User Network
March 4
Volox is now a member of Neuron ESB User Network
March 1
Frosty added a discussion
In addition to supplying individual SQL files, have a single file that will execute all SQL (in the correct order) for setting up a new database so that file can be submitted to DBA for execution. Allow setting up of new database via Neuron Explore…
March 1
Raymond Frankulin added a discussion
Just checked the Event Viewer and noticed hundreds of the below error.  If you need the .esb file let give me an e-mail to send it to please.   Log Name:      Neuron ESBSource:        ServerDate:          2/12/2010 3:23:32 PMEvent ID:      5000Task…
February 12
Andreas Wallberg is now a member of Neuron ESB User Network
February 10
Raymond Frankulin added a discussion
I am currently receiving fixed length data on the ESB by way of the iSeries Dataqueue.  I would like to convert this data into an XML object as defined in our enterprise object schema.  I created an XML document in the Neuron Explorer to define the…
February 8

Badge

Loading…

© 2010   Created by Neuron Admin on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service

Sign in to chat!