I recall such problems but they were fixed a long time ago.   Can you
check if the start method is actually called twice and post the stack
traces from the calls ?

On Mon, 22 Oct 2007 00:56 +0100 (BST), Terry Cox
<[EMAIL PROTECTED]> wrote:
> > Wanna try with the following code in PollingEndpoint ?
>
> Hmmm, seems like I still get two of them, both polling in sequence, with
> one thread slightly after the other.
>
> There is an odd difference between the two, however:
>
> In the config for the component, I have a property in the marshaller that
> references a singleton bean.
>
> In the setup() method of my test code, I load the servicemix config using
> ..xbean.spring.context.ClassPathXmlApplicationContent and then get a
> reference to the above bean using getBean() and tweak its properties.
>
> The Timer-0 thread has no view of these altered properties but the
> Timer-1 thread does.
>
> Terry
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to