-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix connection name prefix for gatekeeper connections
- Loading branch information
Serkan ÖZAL
committed
Dec 15, 2022
1 parent
49b18ea
commit e51fb0a
Showing
5 changed files
with
45 additions
and
1 deletion.
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
21 changes: 21 additions & 0 deletions
21
merloc-broker-client/src/main/java/io/thundra/merloc/broker/client/BrokerConnectionType.java
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,21 @@ | ||
package io.thundra.merloc.broker.client; | ||
|
||
/** | ||
* @author serkan | ||
*/ | ||
public enum BrokerConnectionType { | ||
|
||
CLIENT(BrokerConstants.CLIENT_CONNECTION_NAME_PREFIX), | ||
GATEKEEPER(BrokerConstants.GATEKEEPER_CONNECTION_NAME_PREFIX); | ||
|
||
private final String connectionNamePrefix; | ||
|
||
BrokerConnectionType(String connectionNamePrefix) { | ||
this.connectionNamePrefix = connectionNamePrefix; | ||
} | ||
|
||
public String getConnectionNamePrefix() { | ||
return connectionNamePrefix; | ||
} | ||
|
||
} |
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