What are the likely causes of performance issues in consuming a message synchronously by using a JMS adapter. I'm using OSB 12c and from the pipeline, invoking a business service created by the adapter with the operation type as synchronous message consume. But sometimes, while processing the requests, I could see there are delays of few seconds in reading the message from queue on demand.
We could see that sync consume by default uses a non waiting operation but I would like to understand what other possible causes will have a performance impact and how to tune them. I have also increase the connections capacity of the adapter outbound connection pool.
High level flow:
- OSB received the messages on HTTP from client
- Using Service Callout retrieve one token from jms using synchronous consume( Note: It is a uniform distributed queue and no message selectors as well)
- Invoke another HTTP service using the token
- Push the new token from the above response into the same JMS UDQ ( another business service)
- Return final response to client.