Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9951

CXFRS header "CamelDestinationOverrideUrl" stops working, after changing it twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • FIS 2.0
    • CXF
    • None
    • % %
    • Hide
      Show
      Unzip reproducer.zip Start the route with mvn spring-boot:run The route has a timer wich runs 6 times The route sets an URL, if the number of times run is odd, and another route if the number of times run is even For odd executions, it sets https://postman-echo.com/time/valid?timestamp=2016-10-12 (response=> {valid=true} ) For even executions, it sets https://postman-echo.com/time/valid?timestamp=2016-10-32 (response=> {valid=false} ) But when the CXFRS' rsClient bean is executed, we see for executions 3 and 5, the following: ID: 3 Address: https://postman-echo.com/time/valid?timestamp=2016-10-32 Http-Method: GET ID: 5 Address: https://postman-echo.com/time/valid?timestamp=2016-10-32 Http-Method: GET The URL was set to https://postman-echo.com/time/valid?timestamp=2016-10-12 , but the bean keeps invoking the URL https://postman-echo.com/time/valid?timestamp=2016-10-32 set in cycle 2 of timer

    Description

      • In a route that changes the destination of rsClient in CXFRS dynamically, using the Header "CamelDestinationOverrideUrl", it stops working when set for second time

      Attachments

        Issue Links

          Activity

            People

              atarocch@redhat.com Andrea Tarocchi (Inactive)
              rhn-support-anarvaez Alfredo Narvaez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: