Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8914717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:47:40+00:00 2026-06-15T04:47:40+00:00

I’m running a stock example route in karaf. I know it’s working because when

  • 0

I’m running a stock example route in karaf. I know it’s working because when I change stream:out to log:test, I can see the messages in the log every 5 seconds. However, I don’t seem to get anything in the karaf console. I also have camel-stream installed and don’t see any errors in the log. Should I expect to see the stream:out data when I run the karaf bin/client? thanks!

<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
<camelContext xmlns="http://camel.apache.org/schema/blueprint" id="simple">
<route>
    <from uri="timer:simple?period=5000"/>
        <setBody>
            <simple>Hello World</simple>
        </setBody>
    <to uri="stream:out"/>
 </route>
</camelContext>
</blueprint>

I added the features info below. I’m using karaf 2.2.9 now. I tried it on 2.3.0:

karaf@root> features:list | grep stream
[installed  ] [2.9.4          ] camel-stream                             camel-2.9.4            
[uninstalled] [2.9.4          ] camel-xstream                         camel-2.9.4            
karaf@root> features:list | grep bluepr
[installed  ] [2.9.4          ] camel-blueprint                       camel-2.9.4            
[installed  ] [5.7.0          ] activemq-blueprint                    activemq-5.7.0         
karaf@root> ^D

I’ve tried the following as well:

service KARAF-service stop
cd /usr/local/karaf
rm -rf data/cache/*
service KARAF-service start
echo "features:install camel-blueprint camel-stream" | bin/client
cp /root/simple-camel-blueprint.xml  deploy/  && tail -f data/log/karaf.log

I get:

***deleted startup messages***
2012-12-01 14:56:42,166 | INFO  | - timer://simple | test                             | 64 - org.apache.camel.camel-core - 2.9.4 | Exchange[ExchangePattern:InOnly, BodyType:String, Body:Hello World]
2012-12-01 14:56:47,134 | INFO  | - timer://simple | test                             | 64 - org.apache.camel.camel-core - 2.9.4 | Exchange[ExchangePattern:InOnly, BodyType:String, Body:Hello World]
2012-12-01 14:56:52,135 | INFO  | - timer://simple | test                             | 64 - org.apache.camel.camel-core - 2.9.4 | Exchange[ExchangePattern:InOnly, BodyType:String, Body:Hello World]
2012-12-01 14:56:57,135 | INFO  | - timer://simple | test                             | 64 - org.apache.camel.camel-core - 2.9.4 | Exchange[ExchangePattern:InOnly, BodyType:String, Body:Hello World]
2012-12-01 14:57:02,135 | INFO  | - timer://simple | test                             | 64 - org.apache.camel.camel-core - 2.9.4 | Exchange[ExchangePattern:InOnly, BodyType:String, Body:Hello World]
2012-12-01 14:57:07,136 | INFO  | - timer://simple | test                             | 64 - org.apache.camel.camel-core - 2.9.4 | Exchange[ExchangePattern:InOnly, BodyType:String, Body:Hello World]
2012-12-01 14:57:12,135 | INFO  | - timer://simple | test                             | 64 - org.apache.camel.camel-core - 2.9.4 | Exchange[ExchangePattern:InOnly, BodyType:String, Body:Hello World]
2012-12-01 14:57:17,135 | INFO  | - timer://simple | test                             | 64 - org.apache.camel.camel-core - 2.9.4 | Exchange[ExchangePattern:InOnly, BodyType:String, Body:Hello World]

if I change the ‘to uri’ from “log:test” to “stream:out”, then run bin/client I don’t get anything. is that a valid console out test?

I should add this too:

karaf@root> camel:route-info route3
Camel Route route3
    Camel Context: simple

Properties 
        id = route3
        parent = 7fcb9c0a

Statistics
    Exchanges Total: 5
    Exchanges Completed: 5
    Exchanges Failed: 0
    Min Processing Time: 1ms
    Max Processing Time: 5ms
    Mean Processing Time: 1ms
    Total Processing Time: 9ms
    Last Processing Time: 1ms
    Load Avg: 0.00, 0.00, 0.00
    First Exchange Date: 2012-12-01 15:08:32
    Last Exchange Completed Date: 2012-12-01 15:08:52

Definition
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<route id="route3" xmlns="http://camel.apache.org/schema/spring">
    <from uri="timer:simple?period=5000"/>
    <setBody id="setBody3">
        <simple>Hello World</simple>
    </setBody>
    <to uri="stream:out" id="to3"/>
</route>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T04:47:42+00:00Added an answer on June 15, 2026 at 4:47 am

    Which Camel and Karaf version do you use?

    And have you installed camel-stream feature? You would need to do that before installing and starting your own bundle.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know there's a lot of other questions out there that deal with this
Does anyone know how can I replace this 2 symbol below from the string
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am currently running into a problem where an element is coming back from
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.