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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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

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

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

                Created:
                Updated:
                Resolved: