From: Simon Laws
...
Leading on from this we seem to need to hold header info in the Tuscany message. I've added the following to the message interface to support some policy experiments I've been doing but am open to suggestions...

 Map<String, Object> getHeader();


Here's a suggestion:

List<Object> getHeaders();

- there's multiple headers (the trailing 's' makes that clear)
- a List supports multiple instances of a named header
- and is closer to a JAXB representation of XML <header>*

Hope this helps.
--
Jean-Sebastien

Reply via email to