This document contains documentation for the tracee-springrabbitmq module. Check the TracEE main documentation to get started.
This module writes and retrieves TPIC header information to/from RabbitMQ messages with the Spring-AMQP abstraction.
- TraceeMessagePropertiesConverter: Inherits from `DefaultMessagePropertiesConverter and handles the TPIC information from/to messages.
If you're use Maven for your dependency management simple add this to your pom:
<dependencies>
...
<dependency>
<groupId>io.tracee.binding</groupId>
<artifactId>tracee-springrabbitmq</artifactId>
<version>${tracee.version}</version>
</dependency>
...
</dependencies>
Then set the TraceeMessagePropertiesConverter
to Spring's RabbitTemplate
:
...
final RabbitTemplate template = new RabbitTemplate();
template.setMessagePropertiesConverter(new TraceeMessagePropertiesConverter());
...