You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/05/12 09:47:00 UTC
[jira] [Resolved] (CAMEL-13482) Getting Null Route Definition when
using Hystrix
[ https://issues.apache.org/jira/browse/CAMEL-13482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-13482.
---------------------------------
Resolution: Not A Problem
> 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)