Hi David,
in that case, either you could make this ID as part of your event
message or invent your own ID property and set it in the message using
message.put("your-app-message-id-key", value) or you could set the
value using the API that Freeman mentioned.you can use java.util.UUID for generating a unique ID value. regards, aki 2011/8/29 David Karlsen <[email protected]>: > Inside. I'll be sending Come lokal events during the request which needs > correlation. > Den 29. aug. 2011 10:17 skrev "Aki Yoshida" <[email protected]> > følgende: >> >> Hi, >> what is your use case for this ID, within a system or across systems >> (e.g., the client sending out a message that has this ID header)? >> >> For the latter, you can consider using ws-addressing. You can simply >> activate the ws-a addressing feature and this will offer you the >> MessageID header with the unique ID value. >> >> regards, aki >> >> 2011/8/27 David Karlsen <[email protected]>: >> > Does CXF assign requests an global unique ID - and how can I obtain it? >> > If not I guess I can create an interceptor an attach an ID to the >> > messagecontext? >> > >> > >> > -- >> > David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen >> > >
