Files
spring-integration-samples/basic/xmpp
Artem Bilan 5f524dc534 Upgrade to SI-5.0 & SIK-3.0, Reactor 3.0
* Fix compatibility after Java DSL migration to the SI Core
* Also upgrade all the JMS sample to the JMS 2.0
* Fix default `connectionFactory` bean reference to the current `jmsConnectionFactory`
* Remove unsupported JPA-1.0 Spec via `OpenJpaAutoConfiguration`, since the minimum now is JPA-2.0
* Remove non-lambda sample since minimum now is Java 8
* Rename `PromiseTest` to `MonoTest` and fix it to Reactor 3.0
* Fix `stomp-server.xml` to use proper Reactor 3.0 `eactor.util.function.Tuples` for SpEL
* Regenerate POMs
2016-11-18 14:11:32 -05:00
..
2014-04-16 20:45:34 +03:00

XMPP Sample

This example was prepared for testing with Google Talk and demonstrates the following aspects of the Extensible Messaging and Presence Protocol (XMPP) support available with Spring Integration:

  1. XMPP Inbound Channel Adapter - receive instant messages.
  2. XMPP Outboud Channel Adapter - send instant messages.

In order to run this sample you need to provide correct values in xmpp.properties. Everything there was already preset. The only 3 properties you need to provide values for are:

  • user.login
  • user.password
  • send.to.user

You'll also need to test it with your friend or have two Google accounts setup.

To test SendInstantMessageSample.java, first log on to the account identified via send.to.user property and make sure that that account is in your buddy list. Then run the demo. To test ReceiveInstantMessageSample.java, first log on to the account identified via send.to.user property. Then run the demo. Now any instant messages sent to your account appear in the console.