Class ZeroMqConsumerConfiguration
java.lang.Object
org.springframework.cloud.fn.consumer.zeromq.ZeroMqConsumerConfiguration
@Configuration
@EnableConfigurationProperties(ZeroMqConsumerProperties.class)
public class ZeroMqConsumerConfiguration
extends Object
- Since:
- 3.1.0
- Author:
- Daniel Frey
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.zeromq.ZContext
zContext()
zeromqConsumer
(org.springframework.integration.zeromq.outbound.ZeroMqMessageHandler zeromqMessageHandler) org.springframework.integration.zeromq.outbound.ZeroMqMessageHandler
zeromqMessageHandler
(ZeroMqConsumerProperties properties, org.zeromq.ZContext zContext, Consumer<org.zeromq.ZMQ.Socket> socketConfigurer, org.springframework.integration.mapping.OutboundMessageMapper<byte[]> messageMapper)
-
Constructor Details
-
ZeroMqConsumerConfiguration
public ZeroMqConsumerConfiguration()
-
-
Method Details
-
zContext
-
zeromqMessageHandler
@Bean public org.springframework.integration.zeromq.outbound.ZeroMqMessageHandler zeromqMessageHandler(ZeroMqConsumerProperties properties, org.zeromq.ZContext zContext, @Autowired(required=false) Consumer<org.zeromq.ZMQ.Socket> socketConfigurer, @Autowired(required=false) org.springframework.integration.mapping.OutboundMessageMapper<byte[]> messageMapper) -
zeromqConsumer
-