You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/11/19 16:21:24 UTC

[jira] [Comment Edited] (CAMEL-6982) Karaf Camel commands - Polish table output

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

Claus Ibsen edited comment on CAMEL-6982 at 11/19/13 3:21 PM:
--------------------------------------------------------------

Here is a nicer output that is more readable
{code}
karaf@root> context-list
 Context               Status                Uptime
 -------               ------                ------
 camel-1               Started               12 minutes
 camel-2               Started               12 minutes
 camel-3               Started               12 minutes
karaf@root> route-list
 Context               Route                             Status
 -------               -----                             ------
 camel-1               route1                            Started
 camel-2               route3                            Started
 camel-3               generateOrder-route               Started
 camel-3               processOrder-route                Started
{code}


was (Author: davsclaus):
Here is a nicer output that is more readable
{code}
karaf@root> context-list
 Context               Status                Uptime
 -------               ------                ------
 camel-1               Started               12 minutes
 camel-2               Started               12 minutes
 camel-3               Started               12 minutes
karaf@root> route-list
 Context               Route                             Status
 -------               -----                             ------
 camel-1               route1                            Started
 camel-2               route3                            Started
 camel-3               generateOrder-route               Started
 camel-3               processOrder-route                Started
karaf@root> endpoint-list
 Context               Uri                                                                                                                        Status
 -------               ---                                                                                                                        ------
 camel-1               log://ExampleRouter                                                                                                        Started
 camel-1               spring-event://default                                                                                                     Started
 camel-1               timer://myTimer?fixedRate=true&period=2000                                                                                 Started
 camel-2               direct://start                                                                                                             Started
 camel-2               mock://result                                                                                                              Started
 camel-3               bean://orderBean?method=processOrder                                                                                       Started
 camel-3               spring-event://default                                                                                                     Started
 camel-3               sql://insert into orders (id, item, amount, description, processed) values (:#id, :#item, :#amount, :#description, false   Started
 camel-3               sql://select * from orders where processed = false?consumer.onConsume=update orders set processed = true where id = :#id   Started
 camel-3               timer://foo?period=5s                                                                                                      Started
{code}

> Karaf Camel commands - Polish table output
> ------------------------------------------
>
>                 Key: CAMEL-6982
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6982
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.12.2, 2.13.0
>
>
> Currently it looks a bit to cluttered with all these [ ] brackets around the values in the table.
> We should cleanup this, so its easier to read for humans.



--
This message was sent by Atlassian JIRA
(v6.1#6144)