[
https://issues.apache.org/jira/browse/CAMEL-13482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838106#comment-16838106
]
Rakesh Bhat commented on CAMEL-13482:
-------------------------------------
I already asked on gitter and you suggested to submit JIRA. If I need to go
back and copy+paste this JIRA description to get the answer, i can certainly do
that no harm
> 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.
> [sample-github-repo-link
> |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)