-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
False
-
False
-
Undefined
-
- Unzip the app
- Modify <FILL_ME> section in RouteBuilder with slack account/username/password
- mvn clean package -DskipTests
- java -jar target/slack-to-log-1.0.0-SNAPSHOT-runner.jar
-
0
Quarkus version: 1.11.6.Final
BOM used: `quarkus-universe-bom`
Camel Quarkus: 1.6.0
Attached application needs explicit maven dependency for bean component, but there shouldn't be such prerequisite.
@ApplicationScoped public class MyRouteBuilder extends RouteBuilder { @Override public void configure() throws Exception { from("slack:tests?webhookUrl=https://hooks.slack.com/services/<FILL_ME>").log("${body.text}"); } }
__ ____ __ _____ ___ __ ____ ______ --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \ --\___\_\____/_/ |_/_/|_/_/|_|\____/___/ 2021-04-23 14:02:39,333 INFO [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) bootstrap runtime: org.apache.camel.quarkus.core.CamelContextRuntime 2021-04-23 14:02:39,416 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): org.apache.camel.NoSuchLanguageException: No language could be found for: bean at org.apache.camel.impl.engine.DefaultLanguageResolver.noSpecificLanguageFound(DefaultLanguageResolver.java:89) at org.apache.camel.impl.engine.DefaultLanguageResolver.resolveLanguage(DefaultLanguageResolver.java:63) at org.apache.camel.impl.engine.AbstractCamelContext$3.apply(AbstractCamelContext.java:1679) at org.apache.camel.impl.engine.AbstractCamelContext$3.apply(AbstractCamelContext.java:1668) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1705) at org.apache.camel.impl.engine.AbstractCamelContext.resolveLanguage(AbstractCamelContext.java:1668) at org.apache.camel.language.simple.SimpleExpressionBuilder$28.init(SimpleExpressionBuilder.java:761) at org.apache.camel.language.simple.ast.SimpleFunctionExpression.createExpression(SimpleFunctionExpression.java:63) at org.apache.camel.language.simple.ast.SimpleFunctionStart.doCreateLiteralExpression(SimpleFunctionStart.java:74) at org.apache.camel.language.simple.ast.SimpleFunctionStart.createExpression(SimpleFunctionStart.java:64) at org.apache.camel.language.simple.SimpleExpressionParser.createExpressions(SimpleExpressionParser.java:193) at org.apache.camel.language.simple.SimpleExpressionParser.doParseExpression(SimpleExpressionParser.java:116) at org.apache.camel.language.simple.SimpleExpressionParser.parseExpression(SimpleExpressionParser.java:56) at org.apache.camel.language.simple.SimpleLanguage.createExpression(SimpleLanguage.java:199) at org.apache.camel.reifier.LogReifier.createProcessor(LogReifier.java:55) at org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:829) at org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:575) at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:227) at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:73) at org.apache.camel.quarkus.core.FastCamelContext.startRouteDefinitions(FastCamelContext.java:887) at org.apache.camel.quarkus.core.FastCamelContext.startRouteDefinitions(FastCamelContext.java:624) at org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2642) at org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:505) at org.apache.camel.support.service.BaseService.init(BaseService.java:83) at org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2414) at org.apache.camel.support.service.BaseService.start(BaseService.java:111) at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2431) at org.apache.camel.quarkus.core.CamelContextRuntime.start(CamelContextRuntime.java:57) at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy_0(CamelBootstrapProcessor$boot-173480958.zig:101) at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy(CamelBootstrapProcessor$boot-173480958.zig:40) at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:631) at io.quarkus.runtime.Application.start(Application.java:90) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:97) at io.quarkus.runtime.Quarkus.run(Quarkus.java:66) at io.quarkus.runtime.Quarkus.run(Quarkus.java:42) at io.quarkus.runtime.Quarkus.run(Quarkus.java:119) at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29)
1.
|
Documentation | Closed | Unassigned | ||
2.
|
Productization | Closed | Unassigned | ||
3.
|
Review Test | Closed | Unassigned | ||
4.
|
Development | Closed | Unassigned |