function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Guy Keshet 7Guy Keshet 7 

Salesforce inbound integration with a messaging system

at NOWTV, we currently have a bespoke Salesforce inbound integration (creating accounts, contact etc), using custom code, to populate a message queue in salesforce (a custom object).
We would like to replace this with a 'standard' messaging product, such as MQ, however I cant find any documentation for a standard product that would push messages into salesforce

in essence - I'm looking for the exact opposite of the streaming API - I'd like a standard product that would enable salesforce to listen to an external queue and pick up messages.

Anyone aware of such a product?
ShashankShashank (Salesforce Developers) 
Please see if this helps:
Guy KeshetGuy Keshet
sorry Shashank, it doesnt help. The link you've sent is about creating a custom listener for a salesforce outbound message.

I am looking for the exact opposite - I want Salesforce to listen to an inbound message, but I cant see any existing functionality to do that, other than what we currently do - which is build an external app that listens to a service and than send the message to SFDC via a Salesforce api
Oliver HeneghanOliver Heneghan
Just came across this thread and thought I would post a solution for any future seekers. The solution is to use the Apex REST API or Apex SOAP API. You essentially create a web service in Salesforce using an Apex Class. It can then listen for inbound requests and tie directly into your SF environment.


thanks for the answer, - but this doesnt really answer my quesiotn nor does it really work...
first - the REST & SOAP API are for us when accessing SFDC from the outside, you wouldnt use them when createing an APEX web service as you are already on the plafrom...
Secondly, the question is about avoiding a custom adapter - this is what we already do ...

What I'm looknig for is a middleware tool that can accept a message - e.g. 'create account' - and than call the SOAP or REST API to create the relevant object - e.g. Account - without writing custom code (obvisouly it woudl requrie configuration to map message values to relevant fields)
Oliver HeneghanOliver Heneghan
Take a look at the links I gave... The Apex REST API and Apex SOAP API are different than the Salesforce REST API and SOAP API you're thinking of.  It's confusing... Salesforce should've named them better.  But there's profound significance to these APIs having the word "Apex" in front.  You use them to create web service endpoints in Salesforce that external applications can submit to, hence eliminating the need for a middleware that only serves to receive messages and then turn around and call the regular Salesforce REST or SOAP API.  Basically, using the Apex REST API or Apex SOAP API, you can create your own API in Salesforce that listens for external requests and does whatever you want.  Pretty cool stuff.

Here's list of all the Salesforce platform APIs -- including REST API, SOAP API, Apex REST API, and Apex SOAP API

Now, if it's really a middleware product that you're looking for, you might look at Dell Boomi or Mulesoft if you haven't already.

As you said, you'd have to configure them to map fields and do any transformation you need done.  But they are pretty powerful and might save you some dev effort.  I'm not too familiar with MQ, but I believe one of our other developers was planning to use Boomi with MQ, fwiw.

As for myself, I'd generally prefer to write my own web service in Salesforce that does exactly what I want it to do, using the Apex REST API or Apex SOAP API.  If you choose to go that route, bear in mind that you may still need a light middleware to negotiate authentication to your Apex API if your requesting application only streams messages and has no ability to authenticate.

Hope that helps!
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Thanks for the clarification Ben I am looking for a tool that handles both queuing and integration As you mentioned - mule soft and booms handle one, but not the other Sent from Yahoo Mail for iPhone