Class XmppConsumerConfiguration
java.lang.Object
org.springframework.cloud.fn.consumer.xmpp.XmppConsumerConfiguration
@Configuration
@EnableConfigurationProperties(XmppConsumerProperties.class)
@Import(org.springframework.cloud.fn.common.xmpp.XmppConnectionFactoryConfiguration.class)
public class XmppConsumerConfiguration
extends Object
- Since:
- 4.0.0
- Author:
- Daniel Frey
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.integration.xmpp.outbound.ChatMessageSendingMessageHandler
chatMessageSendingMessageHandler
(org.jivesoftware.smack.XMPPConnection xmppConnection) xmppConsumer
(org.springframework.integration.xmpp.outbound.ChatMessageSendingMessageHandler chatMessageSendingMessageHandler, XmppConsumerProperties properties)
-
Constructor Details
-
XmppConsumerConfiguration
public XmppConsumerConfiguration()
-
-
Method Details
-
chatMessageSendingMessageHandler
@Bean public org.springframework.integration.xmpp.outbound.ChatMessageSendingMessageHandler chatMessageSendingMessageHandler(org.jivesoftware.smack.XMPPConnection xmppConnection) -
xmppConsumer
@Bean public Consumer<Message<?>> xmppConsumer(org.springframework.integration.xmpp.outbound.ChatMessageSendingMessageHandler chatMessageSendingMessageHandler, XmppConsumerProperties properties)
-