Karaf's camel:endpoint-list command does not display all endpoints

Solution Verified - Updated -

Issue

  • In Jboss Fuse 6.1.0, when we run camel:endpoint-list at the karaf console, we get the list of all the camel endpoints deployed in my karaf container.
    We see that with Fuse 6.2.1, it is not possible anymore because we need to specify the name of the camel context.

This is extremely unfortunate because we now have to try every single context when we are looking for something, not to mention that we are losing the possibility to list everything and then grep for what we are looking for.

  • With Fuse 6.2, we made the change to include an argument with the command to specify the camelContext to list the route URI's.

For clarity the difference is,

In Fuse 6.2,

JBossFuse:karaf@root> camel:endpoint-list cbr-example-context
Uri Status
— ------
file://work/cbr/input Started
file://work/cbr/output/others Started
file://work/cbr/output/uk Started
file://work/cbr/output/us Started

JBossFuse:karaf@root> camel:endpoint-list eip-example-context
Uri Status
— ------
direct://filter Started
direct://splitter Started
direct://wiretap Started
file://work/eip/archive Started
file://work/eip/input Started

Whereas, in Fuse 6.1.x, the command displayed everything for you including the route URI for all the camelContext.

JBossFuse:karaf@root> camel:endpoint-list
Context Uri Status
------- — ------
cbr-example-context file://work/cbr/input Started
cbr-example-context file://work/cbr/output/others Started
cbr-example-context file://work/cbr/output/uk Started
cbr-example-context file://work/cbr/output/us Started
eip-example-context direct://filter Started
eip-example-context direct://splitter Started
eip-example-context direct://wiretap Started
eip-example-context file://work/eip/archive Started
eip-example-context file://work/eip/input Started


The feature should be included to be able to run camel:endpoint-list and get all the endpoints from all the context any context is not specified.

Environment

  • Red Hat JBoss Fuse
    • 6.1.x
    • 6.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content