CAMEL-6290: osgi example is not verbose by default.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/36175992 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/36175992 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/36175992 Branch: refs/heads/camel-2.11.x Commit: 3617599201c3b134cdfd3af63697f45fb3b2c88e Parents: 77d7243 Author: Claus Ibsen <[email protected]> Authored: Fri May 17 16:05:58 2013 +0200 Committer: Claus Ibsen <[email protected]> Committed: Fri May 17 16:10:39 2013 +0200 ---------------------------------------------------------------------- examples/camel-example-osgi/README.txt | 9 +++++++++ .../org/apache/camel/example/osgi/MyTransform.java | 2 +- 2 files changed, 10 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/36175992/examples/camel-example-osgi/README.txt ---------------------------------------------------------------------- diff --git a/examples/camel-example-osgi/README.txt b/examples/camel-example-osgi/README.txt index f77e0c1..18d9cb3 100644 --- a/examples/camel-example-osgi/README.txt +++ b/examples/camel-example-osgi/README.txt @@ -14,6 +14,15 @@ To run the example using Maven type To stop the example hit ctrl + c +The example outputs to the log, which you can see using + + log:display + +... or you can tail the log with + + log:tail + +And use ctrl+c to break the tail. Running inside OSGi container http://git-wip-us.apache.org/repos/asf/camel/blob/36175992/examples/camel-example-osgi/src/main/java/org/apache/camel/example/osgi/MyTransform.java ---------------------------------------------------------------------- diff --git a/examples/camel-example-osgi/src/main/java/org/apache/camel/example/osgi/MyTransform.java b/examples/camel-example-osgi/src/main/java/org/apache/camel/example/osgi/MyTransform.java index b797101..be27dec 100644 --- a/examples/camel-example-osgi/src/main/java/org/apache/camel/example/osgi/MyTransform.java +++ b/examples/camel-example-osgi/src/main/java/org/apache/camel/example/osgi/MyTransform.java @@ -26,7 +26,7 @@ import org.slf4j.LoggerFactory; */ public class MyTransform { private static final transient Logger LOG = LoggerFactory.getLogger(MyTransform.class); - private boolean verbose = true; + private boolean verbose; private String prefix = "MyTransform"; public Object transform(Object body) {
