-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: added support for multiple config files
- Loading branch information
Ashish Kumar
authored and
Ashish Kumar
committed
Jun 17, 2024
1 parent
8329148
commit 9022b5b
Showing
5 changed files
with
115 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Prop } from "../environment-config/prop.decorator"; | ||
|
||
export class RabitMqConfig { | ||
@Prop("uri", "amqp://test:test@localhost:5672") | ||
uri: string; | ||
|
||
@Prop("exchange", "test_exchange") | ||
exchangeName: string; | ||
|
||
@Prop("queueExchangeName", "test_queue_exchange") | ||
queueExchange?: string; | ||
|
||
@Prop("queueName", "test_queue") | ||
queueName?: string; | ||
|
||
@Prop("queueRoutingKey", "test_routing_key") | ||
queueRoutingKey?: string; | ||
} |