camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preben.Asmussen" <p...@dr.dk>
Subject Re: New camel-hystrix component
Date Mon, 04 Apr 2016 16:07:46 GMT
Hi bibryam

At first glance it looks a bit intrusive when the usual endpoints are
'wrapped' in the hystrix endpoint.

Could it be something like -> psudo code

<camelContext id="hystrix-producer"
xmlns="http://camel.apache.org/schema/blueprint">
        <hystrix>
           <from=&quot;run&quot;/>
           <fallback=&quot;http4://www.google.com&quot;/>
            .............. other options
        </hystrix>

        <route>
          <from
uri="timer://local?fixedRate=true&amp;period=50&amp;repeatCount=5"/>

        
          <to id="run" uri="http4://localhost"/>

          <to uri="log:hystrix?level=INFO&amp;showHeaders=true"/>
      </route>
  </camelContext>

/Preben



--
View this message in context: http://camel.465427.n5.nabble.com/New-camel-hystrix-component-tp5770955p5780454.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message