AnsweredAssumed Answered

Get (or set) request timestamp to use it in response

Question asked by AleGaz on Jul 5, 2017
Latest reply on Jul 7, 2017 by norre01

Hi all,

 

in the JMS messages that feed my virtual service there is no timestamp (by design). Anyway I need to get the time when request arrived to virtual service in order to write it to response meta-data. I'm also setting a JMS property to System.currentTimeMillis() in the response meta-data in order to get (by post-elaboration by another system) the total time virtualized service took to answer the request.

 

Is there a way to set a property (or something else to use after) in the request to the timestamp of request arrival? (In this case the timestamp of consuming the JMS message by the service)

 

Thank you very much.

Regards.

Outcomes