Re: Injecting synthetic messages

2007-08-07 Thread Trustin Lee
On 8/7/07, Matthew Phillips <[EMAIL PROTECTED]> wrote: > On 06/08/2007, at 9:32 PM, Trustin Lee wrote: > > > On 8/5/07, Matthew Phillips <[EMAIL PROTECTED]> wrote: > >> I have a timer thread inside a custom IoFilter that checks for > >> request timeouts after sending a message. If a timeout occurs,

Re: Injecting synthetic messages

2007-08-07 Thread Matthew Phillips
On 06/08/2007, at 9:32 PM, Trustin Lee wrote: On 8/5/07, Matthew Phillips <[EMAIL PROTECTED]> wrote: I have a timer thread inside a custom IoFilter that checks for request timeouts after sending a message. If a timeout occurs, it sends a synthetic message down the filter chain. The question is,

Re: Injecting synthetic messages

2007-08-06 Thread Trustin Lee
Hi Matthew, On 8/5/07, Matthew Phillips <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a timer thread inside a custom IoFilter that checks for > request timeouts after sending a message. If a timeout occurs, it > sends a synthetic message down the filter chain. The question is, is > this thread s

Injecting synthetic messages

2007-08-05 Thread Matthew Phillips
Hi all, I have a timer thread inside a custom IoFilter that checks for request timeouts after sending a message. If a timeout occurs, it sends a synthetic message down the filter chain. The question is, is this thread safe, or am I violating the MINA thread model? The following code is wh