You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: smallrye-reactive-messaging-rabbitmq-og/src/main/java/io/smallrye/reactive/messaging/rabbitmq/og/ConnectionHolder.java
+22-4Lines changed: 22 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@
5
5
6
6
importjava.io.IOException;
7
7
importjava.time.Duration;
8
+
importjava.util.Set;
9
+
importjava.util.concurrent.ConcurrentHashMap;
8
10
importjava.util.concurrent.TimeoutException;
9
11
importjava.util.concurrent.atomic.AtomicBoolean;
10
12
importjava.util.function.Consumer;
@@ -25,11 +27,13 @@ public class ConnectionHolder {
Copy file name to clipboardExpand all lines: smallrye-reactive-messaging-rabbitmq-og/src/main/java/io/smallrye/reactive/messaging/rabbitmq/og/IncomingRabbitMQMessage.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,10 @@ public IncomingRabbitMQMetadata getRabbitMQMetadata() {
Copy file name to clipboardExpand all lines: smallrye-reactive-messaging-rabbitmq-og/src/main/java/io/smallrye/reactive/messaging/rabbitmq/og/RabbitMQConnector.java
@ConnectorAttribute(name = "reconnect-interval", direction = INCOMING_AND_OUTGOING, description = "The interval (in seconds) between two reconnection attempts", type = "int", alias = "rabbitmq-reconnect-interval", defaultValue = "10")
58
61
@ConnectorAttribute(name = "network-recovery-interval", direction = INCOMING_AND_OUTGOING, description = "How long (ms) will automatic recovery wait before attempting to reconnect", type = "int", defaultValue = "5000")
59
62
@ConnectorAttribute(name = "user", direction = INCOMING_AND_OUTGOING, description = "The user name to use when connecting to the broker", type = "string", defaultValue = "guest")
63
+
@ConnectorAttribute(name = "shared-connection-name", direction = INCOMING_AND_OUTGOING, description = "Optional identifier allowing multiple channels to share the same RabbitMQ connection when set to the same value", type = "string")
60
64
@ConnectorAttribute(name = "include-properties", direction = INCOMING_AND_OUTGOING, description = "Whether to include properties when a broker message is passed on the event bus", type = "boolean", defaultValue = "false")
61
65
@ConnectorAttribute(name = "requested-channel-max", direction = INCOMING_AND_OUTGOING, description = "The initially requested maximum channel number", type = "int", defaultValue = "2047")
62
66
@ConnectorAttribute(name = "requested-heartbeat", direction = INCOMING_AND_OUTGOING, description = "The initially requested heartbeat interval (seconds), zero for none", type = "int", defaultValue = "60")
@@ -161,6 +165,8 @@ public class RabbitMQConnector implements InboundConnector, OutboundConnector, H
Copy file name to clipboardExpand all lines: smallrye-reactive-messaging-rabbitmq-og/src/main/java/io/smallrye/reactive/messaging/rabbitmq/og/i18n/RabbitMQExceptions.java
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,4 +50,7 @@ public interface RabbitMQExceptions {
50
50
51
51
@Message(id = 19012, value = "RabbitMQ channel is closed")
52
52
IllegalStateExceptionillegalStateChannelClosed();
53
+
54
+
@Message(id = 19013, value = "Shared connection '%s' has mismatched configuration; ensure all channels using the same shared-connection-name have identical connection settings")
Copy file name to clipboardExpand all lines: smallrye-reactive-messaging-rabbitmq-og/src/main/java/io/smallrye/reactive/messaging/rabbitmq/og/internals/IncomingRabbitMQChannel.java
Copy file name to clipboardExpand all lines: smallrye-reactive-messaging-rabbitmq-og/src/main/java/io/smallrye/reactive/messaging/rabbitmq/og/internals/OutgoingRabbitMQChannel.java
Copy file name to clipboardExpand all lines: smallrye-reactive-messaging-rabbitmq-og/src/main/java/io/smallrye/reactive/messaging/rabbitmq/og/internals/RabbitMQClientHelper.java
0 commit comments