Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Bug
-
3.0.0.RC3
-
None
-
None
-
Unknown
Description
When several events are received from Salesforce they are processed in wrong order for createdDate field:
2019-12-11 14:01:40.751 [SalesforceHttpClient@4eac29e0-142] DEBUG org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper$5 - Received messages [{data={event={createdDate=2019-12-11T22:01:40.258Z, replayId=15230, type=deleted}, sobject=
{Id=0JRf4000003pfDYGAY}}, channel=/topic/ExtRoutPsr}, {data={event={createdDate=2019-12-11T22:01:40.073Z, replayId=10779, type=updated}, sobject=
{Status=3, IsDeleted=false, UserId=005f4000001gXxkAAE, ServiceChannelId=0N9f4000000M9YjCAK, DeclineReason=null, WorkItemId=500f400000NOxKNAA1, Id=0Bzf4000005akscCAA, PendingServiceRoutingId=0JRf4000003pfDYGAY}}, channel=/topic/ExtRoutAgentWork},
]
2019-12-11 14:01:40.751 [SalesforceHttpClient@4eac29e0-142] DEBUG org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper - Received Message: {data={event={createdDate=2019-12-11T22:01:40.258Z, replayId=15230, type=deleted}, sobject={Id=0JRf4000003pfDYGAY}}, channel=/topic/ExtRoutPsr}
2019-12-11 14:01:40.752 [SalesforceHttpClient@4eac29e0-142] DEBUG org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper - Received Message: {data={event={createdDate=2019-12-11T22:01:40.073Z, replayId=10779, type=updated}, sobject={Status=3, IsDeleted=false, UserId=005f4000001gXxkAAE, ServiceChannelId=0N9f4000000M9YjCAK, DeclineReason=null, WorkItemId=500f400000NOxKNAA1, Id=0Bzf4000005akscCAA, PendingServiceRoutingId=0JRf4000003pfDYGAY}}, channel=/topic/ExtRoutAgentWork}