Skip to content

Commit

Permalink
renamed isla_exchange to isla_Exchange
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalaiselvan Nadar authored and Kalaiselvan Nadar committed Jul 29, 2019
1 parent 6b471a4 commit 562a120
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion event/RabbitMQEventDispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func NewRabbitMQEventDispatcher(logger *log.Logger) (*RabbitMQEventDispatcher, e

dispatcher := &RabbitMQEventDispatcher{
logger: logger,
exchangeName: "isla_Exchange",
exchangeName: "isla_exchange",
sendChannel: sendChannel,
retryChannel: retryChannel,
connectionCloseChannel: connectionCloseChannel,
Expand Down
4 changes: 2 additions & 2 deletions event/monitor/rabbitMQEventMonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (monitor *rabbitMQEventMonitor) connectToRabbitMQ(queueName string, eventsT
monitor.logger.Errorf("Failed to open a channel")
} else {
err = queueChannel.ExchangeDeclare(
"isla_Exchange", // name
"isla_exchange", // name
"topic", // type
true, // durable
false, // auto-deleted
Expand All @@ -89,7 +89,7 @@ func (monitor *rabbitMQEventMonitor) connectToRabbitMQ(queueName string, eventsT
err = queueChannel.QueueBind(
q.Name, // queue name
normalizedEvent, // routing key
"isla_Exchange", // exchange
"isla_exchange", // exchange
false,
nil)
if err != nil {
Expand Down

0 comments on commit 562a120

Please sign in to comment.