You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ValeryN <no...@gmail.com> on 2016/10/11 16:19:34 UTC

Apache Camel and Hystrix Command Name

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.

Re: Apache Camel and Hystrix Command Name

Posted by ValeryN <no...@gmail.com>.
Thanks!!! It worked

 

From: "Claus Ibsen-2 [via Camel]" <ml...@n5.nabble.com>
Date: Tuesday, October 11, 2016 at 09:40
To: ValeryN <no...@gmail.com>
Subject: Re: Apache Camel and Hystrix Command Name

 

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 <[hidden email]> 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

If you reply to this email, your message will be added to the discussion below:

http://camel.465427.n5.nabble.com/Apache-Camel-and-Hystrix-Command-Name-tp5788614p5788616.html 

To unsubscribe from Apache Camel and Hystrix Command Name, click here.
NAML 





--
View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-and-Hystrix-Command-Name-tp5788614p5788617.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache Camel and Hystrix Command Name

Posted by Claus Ibsen <cl...@gmail.com>.
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 <no...@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