camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Apache Camel and Hystrix Command Name
Date Tue, 11 Oct 2016 16:39:42 GMT
Hi

I think we made it use the node id as the command name. So you can try
doing hystrix().id("myNameHere") ....


On Tue, Oct 11, 2016 at 6:19 PM, ValeryN <novikov.valery@gmail.com> wrote:
> I'm really happy to see hystrix support though DSL in a latest Apache Camel
> version 2.18.0. My question is - how does one name a hystrix command now?
>
> Let's say if I write -
>
> from("direct:start").hystrix().to("log:out")
> Hystrix dashboard will register "hystrix1" command and show stat for it,
> that's the point I wanna change.
>
> Hystrix's  EIP doc <http://camel.apache.org/hystrix-eip.html>   says -
> "CommandKey - Used to identify the hystrix command. This option cannot be
> configured but is locked down to be the node id to make the command unique."
>
> It's just hard to believe that people will actually use hystrix stat without
> a meaningful name, so I was thinking maybe I'm missing something. Or is it a
> feature request?
>
> Thank you in advance
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-and-Hystrix-Command-Name-tp5788614.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message