Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created March 7, 2012 22:37
Show Gist options
  • Save johndemic/1996793 to your computer and use it in GitHub Desktop.
Save johndemic/1996793 to your computer and use it in GitHub Desktop.
Output Log Messages Published to the logging-exchange
<amqp:connector name="amqpConnector" />
<flow name="logging.wildcard">
<amqp:inbound-endpoint
exchangeName="logging-exchange"
exchangeType="topic"
exchangeAutoDelete="false"
exchangeDurable="true"
queueName="console-logger"
queueDurable="true"
queueExclusive="false"
queueAutoDelete="false"
routingKey="logs.*"/>
<byte-array-to-object-transformer/>
<logger level="INFO" message="LOG MESSAGE: #[payload:]"/>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment