JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-1162

HTTP message headers are coppied between the routers via the UMOMessage property

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3-rc2
  • Fix Version/s: 2.0.0
  • Component/s: Transport: HTTP(S) / Jetty
  • Labels:
    None
  • Environment:

    JDK 1.4.2

  • Similar Issues:
    None

Description

We are using Mule 1.3 rc2 as an ESB in our architecture. We are using 2 endpoints in our case. First one is an http endpoint via an inbound router and the other one is also an http endpoint,which is created dynamicly, via an outbound router. When the message comes to the http endpoint the http protocol specific headers like Content-Length are supplied via the UMOMessage object. after gathering the message in the http enpoint we create a new message to be sent to the target http endpoint. On that point the message properties are copied from the received message to the one we created new(I mean the MuleMessage). Because the http specific headers(Content-Length) is in the source message it is also being copied to the new message and httpclientdispatcher uses this property(Content-Length) as an http header. As a result of this the Content-Length header of the target http message is not correct. So the target system can not parse the http message correctly. I suppose that we should not override the protocol specific headers especially the ones like Content-Length. Is this a bug or improvement I do not know or may be I should remove the protocol specific properties from the message?

Note: This problems occurs not only in Content-Lngth bu also in Transfer-encoding....

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Frédéric Viron added a comment - 11/May/07 03:21 PM

There is the same problem with Mule 1.3.3.
How can one use several http endpoints in the same Mule project ?

Show
Frédéric Viron added a comment - 11/May/07 03:21 PM There is the same problem with Mule 1.3.3. How can one use several http endpoints in the same Mule project ?
Hide
Permalink
Andrew Perepelytsya added a comment - 14/May/07 04:09 PM

Configure multiple HTTP connectors.

Show
Andrew Perepelytsya added a comment - 14/May/07 04:09 PM Configure multiple HTTP connectors.
Hide
Permalink
Dan Diephouse added a comment - 17/Nov/08 03:39 PM

I believe that since 1.4.x this has been fixed. These HTTP headers are no longer copied. If however, you wish to override any headers you can use the custom http headers map (see the documentation).

Show
Dan Diephouse added a comment - 17/Nov/08 03:39 PM I believe that since 1.4.x this has been fixed. These HTTP headers are no longer copied. If however, you wish to override any headers you can use the custom http headers map (see the documentation).

People

  • Assignee:
    Unassigned
    Reporter:
    Ozkan Demir
Vote (0)
Watch (2)

Dates

  • Created:
    26/Oct/06 03:46 AM
    Updated:
    17/Nov/08 03:39 PM
    Resolved:
    17/Nov/08 03:39 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.