Hi all,

from my previous posts I understood handlers are 'application scope',
that is they maintain a state across different client invocations.
I have a handler intercepting both incoming and outgoing messages and
unfortunately I realized that instance fields are 'reset' (see logs
below). Is there any reason for this counter intuitive behavior?


// Request
DEBUG ncl.qosp.modules.node.NodeDispatcher:findService - Trying to find
the target service...
INFO  ncl.qosp.modules.node.NodeDispatcher:findService - Required
service [MyService]
....

// Response
DEBUG ncl.qosp.modules.node.NodeDispatcher:createResponseHeader - node
[10.8.149.156:18080], service [null],


while if I declare the fields as 'static' it works fine.



Thanks,
Michele

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to