[ 
https://issues.apache.org/jira/browse/CAMEL-13482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rakesh Bhat updated CAMEL-13482:
--------------------------------
    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.

[link github|https://github.com/RakeshBhat/rbsample_camel_hystrix]

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

Thanks
 Rakesh

 

  was:
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.

[https://github.com/RakeshBhat/rbsample_camel_hystrix

]

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

Thanks
Rakesh

 


> Getting Null Route Definition when using Hystrix 
> -------------------------------------------------
>
>                 Key: CAMEL-13482
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13482
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-hystrix
>    Affects Versions: 2.23.1
>            Reporter: Rakesh Bhat
>            Priority: Major
>              Labels: camel, camel-hystrix, unit-test
>
> 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.
> [link github|https://github.com/RakeshBhat/rbsample_camel_hystrix]
> The Unit Test Class "UserRouteWithHystrixTest" is used to re-produce this 
> issue scenario.
> Thanks
>  Rakesh
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to