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
vagishvagish 

Apex job queues VS Outbound message queues

Use case: I want to send Salesforce record's internal id to external system. It can be done in two ways-
1. Outbound message to a public service
2. Future call from apex trigger.

#1 will goto Outbound message queues, #2 will be routed from Apex job queues. Workwise, my experience is outbound messages are faster compared to apex job queues. Also I have seen apex jobs in queued state but outbound messages are sent immediately. There is no doc which compares these two queues, so can anyone throw more light in terms of performance comparision for both of these queues? 
ProlayProlay
For Asynchronous jobs you can refer to this link https://developer.salesforce.com/page/Asynchronous_Processing_in_Force_com. I would suggest to read the Integration patterns and practices. Here is the link https://resources.docs.salesforce.com/198/latest/en-us/sfdc/pdf/integration_patterns_and_practices.pdf