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: spring-integration-core/src/main/java/org/springframework/integration/mapping/ConvertingBytesMessageMapper.java
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,6 @@
20
20
importjava.util.Arrays;
21
21
importjava.util.Map;
22
22
23
-
importorg.jspecify.annotations.NonNull;
24
23
importorg.jspecify.annotations.Nullable;
25
24
26
25
importorg.springframework.messaging.Message;
@@ -53,7 +52,6 @@ public ConvertingBytesMessageMapper(MessageConverter messageConverter) {
Copy file name to clipboardExpand all lines: spring-integration-zeromq/src/main/java/org/springframework/integration/zeromq/inbound/ZeroMqMessageProducer.java
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@
21
21
importjava.util.Collections;
22
22
importjava.util.List;
23
23
importjava.util.Map;
24
+
importjava.util.Objects;
24
25
importjava.util.concurrent.atomic.AtomicInteger;
25
26
importjava.util.function.Consumer;
26
27
@@ -89,8 +90,7 @@ public class ZeroMqMessageProducer extends MessageProducerSupport {
89
90
90
91
privatebooleanreceiveRaw;
91
92
92
-
@Nullable
93
-
privateStringconnectUrl;
93
+
private@NullableStringconnectUrl;
94
94
95
95
@SuppressWarnings("NullAway.Init")
96
96
privatevolatileMono<ZMQ.Socket> socketMono;
@@ -120,7 +120,7 @@ public void setConsumeDelay(Duration consumeDelay) {
120
120
}
121
121
122
122
/**
123
-
* Provide an {@link InboundMessageMapper} to convert a consumed data into a message to produce.
123
+
* Provide an {@link InboundMessageMapper} to convert consumed data into a message to produce.
124
124
* Ignored when {@link #setReceiveRaw(boolean)} is {@code true}.
125
125
* @param messageMapper the {@link InboundMessageMapper} to use.
126
126
*/
@@ -131,7 +131,7 @@ public void setMessageMapper(InboundMessageMapper<byte[]> messageMapper) {
131
131
132
132
/**
133
133
* Provide a {@link MessageConverter} (as an alternative to {@link #messageMapper})
134
-
* for converting a consumed data into a message to produce.
134
+
* for converting consumed data into a message to produce.
135
135
* Ignored when {@link #setReceiveRaw(boolean)} is {@code true}.
136
136
* @param messageConverter the {@link MessageConverter} to use.
137
137
*/
@@ -140,7 +140,7 @@ public void setMessageConverter(MessageConverter messageConverter) {
140
140
}
141
141
142
142
/**
143
-
* Whether raw {@link ZMsg} is present as a payload of message to produce or
143
+
* Whether raw {@link ZMsg} is present as a payload of a message to produce or
144
144
* it is fully converted to a {@link Message} including {@link ZeroMqHeaders#TOPIC} header (if any).
145
145
* @param receiveRaw to convert from {@link ZMsg} or not; defaults to convert.
146
146
*/
@@ -169,7 +169,7 @@ public void setTopics(String... topics) {
169
169
}
170
170
171
171
/**
172
-
* Configure an URL for {@link org.zeromq.ZMQ.Socket#connect(String)}.
172
+
* Configure a URL for {@link org.zeromq.ZMQ.Socket#connect(String)}.
173
173
* Mutually exclusive with the {@link #setBindPort(int)}.
174
174
* @param connectUrl the URL to connect ZeroMq socket to.
0 commit comments