Uses of Class
org.springframework.integration.zeromq.dsl.ZeroMqMessageProducerSpec
Package
Description
Provides classes for supporting ZeroMQ component via Java DSL.
-
Uses of ZeroMqMessageProducerSpec in org.springframework.integration.zeromq.dsl
Modifier and TypeMethodDescriptionZeroMqMessageProducerSpec.bindPort
(int port) Configure a port for TCP protocol binding viaZMQ.Socket.bind(String)
.ZeroMqMessageProducerSpec.connectUrl
(String connectUrl) Configure an URL forZMQ.Socket.connect(String)
.ZeroMqMessageProducerSpec.consumeDelay
(Duration consumeDelay) Specify aDuration
to delay consumption when no data received.static ZeroMqMessageProducerSpec
ZeroMq.inboundChannelAdapter
(org.zeromq.ZContext context) Create an instance ofZeroMqMessageProducerSpec
for the providedZContext
.static ZeroMqMessageProducerSpec
ZeroMq.inboundChannelAdapter
(org.zeromq.ZContext context, org.zeromq.SocketType socketType) ZeroMqMessageProducerSpec.messageConverter
(MessageConverter messageConverter) Provide aMessageConverter
(as an alternative tomessageMapper(org.springframework.integration.mapping.InboundMessageMapper<byte[]>)
) for converting a consumed data into a message to produce.ZeroMqMessageProducerSpec.messageMapper
(InboundMessageMapper<byte[]> messageMapper) Provide anInboundMessageMapper
to convert a consumed data into a message to produce.ZeroMqMessageProducerSpec.receiveRaw
(boolean receiveRaw) Whether rawZMsg
is present as a payload of message to produce or it is fully converted to aMessage
includingZeroMqHeaders.TOPIC
header (if any).ZeroMqMessageProducerSpec.socketConfigurer
(Consumer<org.zeromq.ZMQ.Socket> socketConfigurer) Provide aConsumer
to configure a socket with arbitrary options, like security.Specify topics theSocketType.SUB
socket is going to use for subscription.