Skip to content

Instantly share code, notes, and snippets.

@adrianhsieh
Created November 20, 2012 00:28
Show Gist options
  • Select an option

  • Save adrianhsieh/4115143 to your computer and use it in GitHub Desktop.

Select an option

Save adrianhsieh/4115143 to your computer and use it in GitHub Desktop.
show me the paycheck
<choice doc:name="Choice">
<when expression="payload.get('paycheckstyle') == 'Walmart Fozzy'">
<processor-chain>
<http:response-builder status="302" doc:name="HTTP Response Builder">
<http:location value="http://happyhour.atotis.com"/>
</http:response-builder>
</processor-chain>
</when>
<otherwise>
<processor-chain>
<enricher source="#[payload]" target="#[variable:joblisting]" doc:name="find.new.job">
<flow-ref name="find.new.job" doc:name="find.new.job" />
</enricher>
</processor-chain>
</otherwise>
</choice>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment