You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Gregor Zurowski (JIRA)" <ji...@apache.org> on 2014/04/06 04:14:19 UTC

[jira] [Comment Edited] (CAMEL-5539) Circuit Breaker EIP

    [ https://issues.apache.org/jira/browse/CAMEL-5539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13961307#comment-13961307 ] 

Gregor Zurowski edited comment on CAMEL-5539 at 4/6/14 2:13 AM:
----------------------------------------------------------------

@[~bibryam]: It seems that your recent changes break the build:

==================================
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: Scala 2.14-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[...]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ camel-scala -
--
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- scala-maven-plugin:3.1.6:compile (default) @ camel-scala ---
[INFO] C:\var\git\forks\camel\components\camel-scala\src\main\scala:-1: info: co
mpiling
[INFO] Compiling 43 source files to C:\var\git\forks\camel\components\camel-scal
a\target\classes at 1396749824710
[ERROR] C:\var\git\forks\camel\components\camel-scala\src\main\scala\org\apache\
camel\scala\dsl\SLoadBalanceDefinition.scala:29: error: type mismatch;
[ERROR]  found   : Seq[Class[_]]
[ERROR]  required: Class[_]
[ERROR]   = wrap(target.circuitBreaker(threshold, halfOpenAfter, exceptions))
[ERROR]                                                          ^
[ERROR] one error found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.319s
[INFO] Finished at: Sat Apr 05 22:04:01 EDT 2014
[INFO] Final Memory: 20M/303M
[INFO] ------------------------------------------------------------------------
[...]
==================================

See full build output attached.


was (Author: gzurowski):
@[~bibryam]: It seems that your recent changes break the build:

{code|title=mvn clean install}
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: Scala 2.14-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[...]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ camel-scala -
--
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- scala-maven-plugin:3.1.6:compile (default) @ camel-scala ---
[INFO] C:\var\git\forks\camel\components\camel-scala\src\main\scala:-1: info: co
mpiling
[INFO] Compiling 43 source files to C:\var\git\forks\camel\components\camel-scal
a\target\classes at 1396749824710
[ERROR] C:\var\git\forks\camel\components\camel-scala\src\main\scala\org\apache\
camel\scala\dsl\SLoadBalanceDefinition.scala:29: error: type mismatch;
[ERROR]  found   : Seq[Class[_]]
[ERROR]  required: Class[_]
[ERROR]   = wrap(target.circuitBreaker(threshold, halfOpenAfter, exceptions))
[ERROR]                                                          ^
[ERROR] one error found
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.319s
[INFO] Finished at: Sat Apr 05 22:04:01 EDT 2014
[INFO] Final Memory: 20M/303M
[INFO] ------------------------------------------------------------------------
[...]
{code}

See full build output attached.

> Circuit Breaker EIP
> -------------------
>
>                 Key: CAMEL-5539
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5539
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core, eip
>            Reporter: Claus Ibsen
>            Assignee: Raúl Kripalani
>             Fix For: Future
>
>         Attachments: CAMEL-5539-output.txt
>
>
> Look at add the circuit breaker EIP to the Camel DSL.
> http://davybrion.com/blog/2008/05/the-circuit-breaker/
> Would need some thoughts for that though. Either as an explicit in the DSL. Or as a interceptor for sending to an endpoint. As explicit its a kind to the load balancer (in fact it may be extended upon that). Either the LB selects the intended target, or it select the breaker, which rejects executing the message.



--
This message was sent by Atlassian JIRA
(v6.2#6252)