As has been reported previously by others, if you implement a component based upon PollingEndpoint then the poll method will be called more than once when the component starts.
I have been investigating an example here and I can see that two different pool-components are running simultaneously in different threads. There also appear to be two Daemons, Timer-0 and Timer-1. I wondered if this were due to ServiceMix simply instantiating more than one instance of the component in a pool so I attempted to configure the executorFactory as shown in http://incubator.apache.org/servicemix/thread-pools.html to set the default pool size to 1. If I add the <sm:executorFactory> element to my config however, I get a java.lang.NoClassDefFoundError: org/apache/woden/WSDLReader early in the jbi config and the container fails to load. Any ideas? Terry
