Uses of Class
org.springframework.integration.zeromq.dsl.ZeroMqMessageProducerSpec
Packages that use ZeroMqMessageProducerSpec
Package
Description
Provides classes for supporting ZeroMQ component via Java DSL.
-
Uses of ZeroMqMessageProducerSpec in org.springframework.integration.zeromq.dsl
Methods in org.springframework.integration.zeromq.dsl that return ZeroMqMessageProducerSpecModifier 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 aDurationto delay consumption when no data received.static ZeroMqMessageProducerSpecZeroMq.inboundChannelAdapter(org.zeromq.ZContext context) Create an instance ofZeroMqMessageProducerSpecfor the providedZContext.static ZeroMqMessageProducerSpecZeroMq.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 anInboundMessageMapperto convert a consumed data into a message to produce.ZeroMqMessageProducerSpec.receiveRaw(boolean receiveRaw) Whether rawZMsgis present as a payload of message to produce or it is fully converted to aMessageincludingZeroMqHeaders.TOPICheader (if any).ZeroMqMessageProducerSpec.socketConfigurer(Consumer<org.zeromq.ZMQ.Socket> socketConfigurer) Provide aConsumerto configure a socket with arbitrary options, like security.Specify topics theSocketType.SUBsocket is going to use for subscription.ZeroMqMessageProducerSpec.unwrapTopic(boolean unwrapTopic) Specify if the topic thatSocketType.SUBsocket is going to receive is wrapped with an additional empty frame.