Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-98

Changing URL in CommonsHttpMessageSender

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0 M3
    • Fix Version/s: 1.0 RC1
    • Component/s: Core
    • Labels:
      None

      Description

      There is no way of modifying the URL in CommonsHttpMessageSender. In its current form, it is well suited for a hard coded URL, but does not handle setting the URL at runtime. If you try to set up CommonsHttpMessageSender in the applicationContext.xml file without providing a URL, it will fail on startup. If you provide a default URL, and then try to override it using the setUrl method, the new URL will not be used. I believe that HttpUrlConnectionMessageSender has the same issue.

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              jpace Jim Pace
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: