I am facing a wierd problem with a flow service that essentially does the following:
- send a MQ message (JMS Adapter)
- Create a JMS criteria to receive a message
- Sleep for 10 sec
- Recieve a message based on the criteria
The code when executed leads to a null message received in step 4. When I execute the same code in trace mode it executes fine.
Initially I thought that it may be happeining because of the long running nature of the transaction so I increased the sleep time to a big number. Even that didnt work.
This is wierd - any help will be appreciated