Hi,
I have a Custom Pipeline component which writes data to BAM and used to use MessagingEventStream (MES) and an orchestration that also writes to BAM using OrchestrationEventStream (OES). The problem that was occurring is that the orchestration was 'sometimes' writing to BAM before the Pipeline, and then the Pipeline was overwriting the values that the Orchestration set. I presume that this is because they are both asynchronous and you can't guarantee which gets written first.
Therefore, I changed my EventStream in the Pipeline to DirectEventStream (DES) which is synchronous, so that the values from the Pipeline are written straight to the BAMPrimaryImport thus making sure the values get there before the Orchestration values, which still uses OES.
But this isn't so, the Orchestration is still 'sometimes' getting there before the pipeline, and the pipeline was then overwriting the values from the orchestration.
I find this a bit confusing as I thought DES makes sure the values are in BAMPrimaryImport before it continues on with execution, thus making performance slower.
Advise on this would be greatly appreciated.
Thanks
Kevin