[ http://jira.codehaus.org/browse/XFIRE-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott MacKenzie updated XFIRE-884: ---------------------------------- Attachment: http-header.patch This change is important for the project I am currently working on so I took a stab at a patch for it. This patch will allow custom HTTP headers to be added as contextual properties. For example, the developer could set the header(s) like this: {code:java} Client client = Client.getInstance(soap) Map m = new HashMap(); m.put("routing.key", "target"); m.put("test-header", new String[]{"test1", "test2"} ); client.setProperty(CommonsHttpMessageSender.HTTP_HEADERS, m ); {code} this would produce the following headers: {code} routing.key: target test-header: test1 test-header: test2 {code} The map can have either (String, String) or (String, String[]) since we are allowed to have headers with the same name. > Add support for custom HTTP headers > ----------------------------------- > > Key: XFIRE-884 > URL: http://jira.codehaus.org/browse/XFIRE-884 > Project: XFire > Issue Type: New Feature > Components: Core > Reporter: Tomasz Sztelak > Assigned To: Tomasz Sztelak > Fix For: 1.2.5 > > Attachments: http-header.patch > > > It would be good to have a way to specify custom http headers -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email