3
To:
Reply-To: dev@felix.apache.org
Subject: Re: Weird problem with EventAdmin:blacklisting
Hi,
for your previous question: the code is a little bit tricky. It's
correct that just the sync handler gets the configuration. But the
async handler does not deliver events by itself. It uses inte
Hi,
for your previous question: the code is a little bit tricky. It's
correct that just the sync handler gets the configuration. But the
async handler does not deliver events by itself. It uses internally
the async handler as well. Therefore timeout handling applies here as
well.
The blacklisting
My current problems are :
- why such blacklisting ?
- how this blacklisting may affect my communication because with the
webconsole and log service I can see my message present in the right
topic , but it's never dequeued ... it's stuck on the topic,
handleEvent() callback is never invoked in my s
Hi once again,
I just had a look to the source code and I'd like you to drop me a
terrible confusion...
In my code I am using the postEvent() method...This is the
asynchronous sending of message isn't it ?
But as far as I understand while reading the source ,timeouts are set
for Synchronous deliver
Hi,
by default the impl measures the time an event handler uses too handle
this event. Once this is over the configured limit (in millisecs),
this handler gets blacklisted - and stays there forever (unless you
restart either the handler or the event admin). A usual trap here is
debugging an event
Thanks for your help Carsten I'll do some tests
I must read the source code to figure out with accuracy what kind of
timeouts is used ...
I don't see any valuable reason for my servlet not respond in 5seconds!!!
It's present at startup with a runlevel 2 ...
let me know more about the mechanism
Hi,
the Felix event admin by default blacklists event handlers if they
take more than 5 secs. With the setting you mentioned, you turn off
the timeout for all event handlers.
If you want a more fine grained setting, you can use the property
org.apache.felix.eventadmin.IgnoreTimeout to disable tim
I'll try a test with the following property setted to 0 :
org.apache.felix.eventadmin.Timeout
I'll let you know results of such experiments
regards
J.MOLIERE - Mentor/J
auteur Eyrolles
blog: http://romjethoughts.blogspot.com
2012/1/25 jerome moliere :
> Hi all,
> I 've one part of my applicati