Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 1.12 KB

File metadata and controls

30 lines (16 loc) · 1.12 KB

XMPP Consumer

A consumer that allows you to send messages through an XMPP server.

Beans for injection

You can import the XmppConsumerConfiguration in the application and then inject the following bean.

Consumer<Message<?> xmppConsumer

You need to inject this as Consumer<Message<?> xmppConsumer.

You can use xmppConsumer as a qualifier when injecting.

NOTE: This is a functional endpoint. One will need to subscribe to this endpoint in order to start accepting data on it.

Configuration Options

All configuration properties are prefixed with xmpp.consumer.

For more information on the various options available, please see XmppConsumerProperties.

Tests

See this test suite for the various ways, this consumer is used.

Other usage

See this README where this consumer is used to create a Spring Cloud Stream application where it makes a XMPP Sink.