Transport Bridge¶
Introduction¶
It is very likely that a system compromised of multiple Mersal apps to be relying on the same transport. However, there might be a need to use different transports for specific destinations (queues). Reasons may vary, below are some examples:
The new project is using RabbitMQ but legacy parts of the system are using ActiveMQ.
Requiring one part of the system to use a different transport to save cost or have better efficiency (it doesn’t have to be a different transport technology, it might a separate server of the same transport technology)
Testing; tests are great, being able to send messages using a different transport allows for easier testing of pub/sub (see example below).
To allow the above, a TransportBridge
has been created. It wraps a transport in addition to allowing messages sent to specific addresses to use a different transport.
Usage¶
Notes¶
Examples¶
Spying on sent messages
TODO
Summary¶
N/A
Internal Implementation¶
N/A
Road Map¶
N/A