Created
March 7, 2012 22:37
-
-
Save johndemic/1996793 to your computer and use it in GitHub Desktop.
Output Log Messages Published to the logging-exchange
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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