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

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

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: FIS 2.0
    • Fix Version/s: None
    • Component/s: CXF
    • Labels:
      None
    • Environment:

      Could be reproduced in Springboot standalone route (see reproducer)

    • Steps to Reproduce:
      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  valdar Andrea Tarocchi
                  Reporter:
                  rhn-support-anarvaez Alfredo Narvaez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: