Hi

I have the following setup that causes intermittent problems:
- A number of file pollers that monitor a directory and send the names of files found to a service component (direct routing) - A service component that dispatches the received file names to a processing module (via drools) and deletes the files as soon as it receives and ack from processing - A processing component that spawns threads (through a WorkManager) to transfer files from A to B and sends an ack as soon as the transfer completed. All components are implemented as POJO objects and deployed in the servicemix-lwcontainer.

If I sufficiently space the incoming files, then everything works fine. However, if too many files arrive at the same time, then ServiceMix freezes completely and does not recover anymore. From the first point I infer that my setup should be correct and JBI compliant. However, how can I determine whether the ESB is nearing saturation? How can I ensure that I never bring the bus to its limits? I tried to read through the JBI specs but could not find anything pertaining to the scaling of an ESB implementation. Maybe some kind soul can point me to the right place?

Regards

Andreas



Reply via email to