node-ts / bus

A typescript based enterprise service bus framework based on enterprise integration patterns
https://bus.node-ts.com/
MIT License
272 stars 25 forks source link

Fix sendonly initialization #138

Closed adenhertog closed 3 years ago

adenhertog commented 3 years ago

.initializeSendOnly() was trying to create app & dlqs. In reality it should only do enough setup to allow the library to connect and send a message only.

This fix introduces connect() disconnect() to the transport definition so that the transport implementation can be more specific around how it starts up.