Class ZeroMqConsumerProperties
java.lang.Object
org.springframework.cloud.fn.consumer.zeromq.ZeroMqConsumerProperties
@ConfigurationProperties("zeromq.consumer")
@Validated
public class ZeroMqConsumerProperties
extends Object
- Since:
- 3.1.0
- Author:
- Daniel Frey
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotEmpty(message="connectUrl is required like protocol://server:port") String
@NotNull(message="\'socketType\' is required") org.zeromq.SocketType
getTopic()
void
setConnectUrl
(String connectUrl) void
setSocketType
(org.zeromq.SocketType socketType) void
setTopic
(Expression topic)
-
Constructor Details
-
ZeroMqConsumerProperties
public ZeroMqConsumerProperties()
-
-
Method Details
-
getSocketType
@NotNull(message="\'socketType\' is required") public @NotNull(message="\'socketType\' is required") org.zeromq.SocketType getSocketType() -
setSocketType
public void setSocketType(org.zeromq.SocketType socketType) - Parameters:
socketType
- theSocketType
to establish.
-
getConnectUrl
@NotEmpty(message="connectUrl is required like protocol://server:port") public @NotEmpty(message="connectUrl is required like protocol://server:port") String getConnectUrl() -
setConnectUrl
- Parameters:
connectUrl
- The ZeroMQ socket to expose
-
getTopic
-
setTopic
- Parameters:
topic
- The 'topic' SpEL expression to set
-