[jboss-dev-forums] [Design of JBoss ESB] - Re: Consistent handling of HTTP response header across HTTP

dward do-not-reply at jboss.com
Thu Jun 25 17:56:58 EDT 2009


How much freedom do I have here?  Basically, how many people will I upset if message properties are no longer available under HttpMessageComposer.HTTP_RESPONSE_HEADER_MAP (http gateway) or HttpResponse.RESPONSE_KEY (http router)?

I've been poking around and it looks like a pretty easy thing to homogenize it all, but what about people who have written custom actions specifically looking for those exact message properties themsleves?  I guess I could leave them there *in addition* to always using ResponseHeaders in the message properties, but then the problem is 1) the message sizes would be bigger, 2) it would be downright ugly.

I would like to just clean this up, and in release notes somewhere say, "if you're looking for HttpMessageComposer.HTTP_RESPONSE_HEADER_MAP or HttpResponse.RESPONSE_KEY, it ain't gonna be there no more".

Thoughts?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240162#4240162

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240162



More information about the jboss-dev-forums mailing list