Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Latest commit

 

History

History

springrabbitmq

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

This document contains documentation for the tracee-springrabbitmq module. Check the TracEE main documentation to get started.

tracee-springrabbitmq

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.

Installation

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());
...