Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13482

Getting Null Route Definition when using Hystrix

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      Hi,

      Problem Statement
      Getting null from "getRouteDefinition" method call during unit Test using camel-hystrix route. 
      The method "getRouteDefinition" can only find the fall-back route Id, not the actual route Id.
      If I comment the fall-back bean routeId, then only it can find the actual HTTP "to" route Id. 

      Please find the sample example repository, that can be used to re-produce this problem.

      sample-github-repo-link

      The Unit Test Class "UserRouteWithHystrixTest" is used to re-produce this issue scenario.

      Thanks
      Rakesh

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            RakeshBhat Rakesh Bhat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: