how to pass unique value with message

anthony_w awwold69 at hotmail.com
Thu Jul 15 16:42:24 EDT 2010


I have a problem I can't seem to figure out how to solve.  I can't tell if
the answer is staring me in the face and I'm just not seeing it.

I have a server app with handlers in the pipeline like this.

H[A] -> H[B] -> H[C] -> H[D]

I need to calculate the elapsed time from A to D on a per-message basis. 
I'm ok with storing the starting time in a map somewhere when I'm in handler
A.  Is there a way to uniquely identify each message within Netty so that I
could retrieve the starting time when I get to handler D?  Having the client
include a unique value in the message is not an option.  Thanks.

anthony
-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/how-to-pass-unique-value-with-message-tp5299243p5299243.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list