[
https://issues.apache.org/jira/browse/CAMEL-9224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14995115#comment-14995115
]
Claus Ibsen commented on CAMEL-9224:
------------------------------------
Thanks it works well. But can we hide the syntax issues from being logged as
ERROR in the logs
{code}
2015-11-07 09:13:16.770 ERROR 47268 --- [pool-1-thread-1]
o.crsh.shell.impl.command.CRaSHSession : Error while evaluating request
'camel route-list' camel route-list: exception: Missing argument Camel Context
org.crsh.cli.impl.SyntaxException: Missing argument Camel Context
at
org.crsh.cli.impl.lang.MethodDescriptor.bind(MethodDescriptor.java:93)
at
org.crsh.cli.impl.lang.MethodDescriptor$1.invoke(MethodDescriptor.java:146)
at
org.crsh.cli.impl.lang.MethodDescriptor$1.invoke(MethodDescriptor.java:106)
at
org.crsh.lang.impl.java.ProducerCommandMatch$1.close(ProducerCommandMatch.java:117)
at
org.crsh.shell.impl.command.pipeline.CommandInvokerAdapter.close(CommandInvokerAdapter.java:296)
at
org.crsh.shell.impl.command.pipeline.PipeLine.close(PipeLine.java:106)
at
org.crsh.shell.impl.command.spi.CommandInvoker.invoke(CommandInvoker.java:52)
at
org.crsh.shell.impl.command.CRaSHCommandProcess.doInvoke(CRaSHCommandProcess.java:39)
at
org.crsh.shell.impl.command.CRaSHProcess.execute(CRaSHProcess.java:60)
at org.crsh.shell.impl.async.AsyncProcess$2.call(AsyncProcess.java:207)
at org.crsh.shell.impl.async.AsyncProcess$2.call(AsyncProcess.java:177)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
{code}
Or is that unfortunately a crash/spring-boot issue?
> Camel specific commands for spring boot shell
> ---------------------------------------------
>
> Key: CAMEL-9224
> URL: https://issues.apache.org/jira/browse/CAMEL-9224
> Project: Camel
> Issue Type: New Feature
> Components: camel-spring-boot, tooling
> Reporter: Evgeny Minkevich
> Assignee: Claus Ibsen
> Fix For: 2.17.0
>
>
> As an integration administrator who has to monitor/troubleshoot running PROD
> environments I would like to have camel specific commands in spring boot
> shell:
> camel:context-info
> camel:context-list
> camel:context-start
> camel:context-stop
> camel:endpoint-list
> camel:route-info
> camel:route-list
> camel:route-profile
> camel:route-reset-stats
> camel:route-resume
> camel:route-show
> camel:route-start
> camel:route-stop
> camel:route-suspend
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)