When just importing the ftp example as a maven project, I ran into the issue of a slf4j version discrepancy described here: http://www.slf4j.org/faq.html#IllegalAccessError This is solved by adding the specific version dependency of `slf4j-api`. * Add the specific `slf4j-api` dependency to the Gradle script * Change the dependency scope for `slf4j-` impl to the `runtime`. * Regenerate POMs
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:
- XMPP Inbound Channel Adapter - receive instant messages.
- 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.