Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Commit

Permalink
fixed README format
Browse files Browse the repository at this point in the history
  • Loading branch information
David Turanski committed Oct 17, 2012
1 parent e0f3c90 commit 802dabc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Expand Up @@ -196,16 +196,16 @@ Here's some examples illustrating nested MessageFlows conditionally executed:
}
}

otherwise() creates a default output channel on the router
messageFlow {
route('myRouter', { if (it == "Hello" ) 'foo' } )
{
when('foo') {
handle {payload -> payload.toUpperCase()}
}

otherwise {
handle {payload -> payload.toLowerCase()}
otherwise() creates a default output channel on the router
messageFlow {
route('myRouter', { if (it == "Hello" ) 'foo' } )
{
when('foo') {
handle {payload -> payload.toUpperCase()}
}

otherwise {
handle {payload -> payload.toLowerCase()}
}
}
}
Expand Down

0 comments on commit 802dabc

Please sign in to comment.