The ReceiveInstantMessageSample works fine and I can see received messages in the console. However the SendInstantMessageSample doesn’t work. It starts up, connects to the XMPP server (talk.google.com) but it doesn’t send the message. No error message in the console either. Any idea what the problem could be? Does it work for you and other people running the sample?
Are you sure the code
Please raise questions like this as an ‘issue’ on GitHub…
…not here. I am not familiar with that sample; will take a look when I get a chance.
I just ran tests and both send and receive work for me.
Thanks Gary. I’ll use GitHub for comments next time. Not sure why the sending isn’t working for me. Maybe a firewall issue. It does allow me to connect and receive so that’s odd.
For what it’s worth, we did see some inconsistency (sending to some accounts worked some didn’t) but we concluded it was some google issue. We dug in a little and saw that we received 503 errors (service unavailable) for the accounts that didn’t work, but we were not able to figure out a pattern so we put it down to some issue with the account(s) in google.
Ok I thought that might be the case. Will try some other xmpp service. Thanks so much for your help Gary.
Hi Gary,
I just tried out the spring-integration-xmpp sample on github:
https://github.com/spring-projects/spring-integration-samples/tree/master/basic/xmpp
The ReceiveInstantMessageSample works fine and I can see received messages in the console. However the SendInstantMessageSample doesn’t work. It starts up, connects to the XMPP server (talk.google.com) but it doesn’t send the message. No error message in the console either. Any idea what the problem could be? Does it work for you and other people running the sample?
Are you sure the code
Please raise questions like this as an ‘issue’ on GitHub…
https://github.com/spring-projects/spring-integration-samples/issues?state=open
…not here. I am not familiar with that sample; will take a look when I get a chance.
I just ran tests and both send and receive work for me.
Thanks Gary. I’ll use GitHub for comments next time. Not sure why the sending isn’t working for me. Maybe a firewall issue. It does allow me to connect and receive so that’s odd.
For what it’s worth, we did see some inconsistency (sending to some accounts worked some didn’t) but we concluded it was some google issue. We dug in a little and saw that we received 503 errors (service unavailable) for the accounts that didn’t work, but we were not able to figure out a pattern so we put it down to some issue with the account(s) in google.
Ok I thought that might be the case. Will try some other xmpp service. Thanks so much for your help Gary.