Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
#353 use an easier to debug route which changes the payload and adds …
…a header
  • Loading branch information
jstrachan committed Jun 4, 2013
1 parent 2270e10 commit c32af39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions hawtio-web/src/main/webapp/app/camel/js/debug.ts
Expand Up @@ -221,6 +221,7 @@ module Camel {
} else {
console.log("onMessages No results!");
}
updateBreakpointIcons();
}

function clearStopped() {
Expand Down
6 changes: 6 additions & 0 deletions hawtio-web/src/test/resources/applicationContext.xml
Expand Up @@ -106,6 +106,10 @@
<from uri="timer:foo?period=5000"/>
<setBody><constant>Hello World</constant></setBody>
<delay><constant>500</constant></delay>
<setBody><constant>A Delayed Hello World</constant></setBody>
<setHeader headerName="myHeader">
<constant>This is a new header value</constant>
</setHeader>
<log message="The message contains ${body}" loggingLevel="DEBUG"/>
<to uri="activemq:timer.events"/>
</route>
Expand Down Expand Up @@ -137,6 +141,7 @@
<from uri="direct:b"/>
<log loggingLevel="INFO" logName="test" message="direct:b"/>
</route>
<!--
<route>
<from uri="direct:c"/>
<log loggingLevel="INFO" logName="test" message="direct:c"/>
Expand All @@ -149,6 +154,7 @@
<from uri="direct:e"/>
<log loggingLevel="INFO" logName="test" message="direct:e"/>
</route>
-->
</camelContext>

<camelContext id="cheese" xmlns="http://camel.apache.org/schema/spring">
Expand Down

0 comments on commit c32af39

Please sign in to comment.