Multiple Consumers of a Message From a JMS Queue, but Only Get One Instance in ESB Tracking
Last updated on NOVEMBER 03, 2016
Applies to:Oracle ESB - Version: 10.1.3.3 to 10.1.3.3 - Release: AS10gR3 to AS10gR3
Information in this document applies to any platform.
***Checked for relevance on 04-Apr-2011***
Three ESB services are involved:
(1) Publish - reads a file and routes to a JMS Queue.
(2) Subscribe1 - Consumes message from JMS Queue and writes to a file.
(3) Subscribe2 - Consumes message from JMS Queue and writes to a file.
When all three services are active both Subscribe1 and Subscribe2 run and write their respective files to the output directory. When checking the executed instances in the ESB Control only Publish and Subscribe1 show up as executed, even though it is obvious that Subscribe2 has also run successfully since the output file is written to the directory. Also sometimes the tracking diagram for Subscribe1 does not show "green" all the way through.
When Subscribe1 is disabled, then Publish and Subscribe2 execute fine and the instances are shown in the ESB Control. By the same token when Subscribe2 is disabled then Publish and Subscribe1 execute fine and the instances are shown in the ESB Control.
So the only issue is when running all three services at the same time.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms