There has been interest in a Yahoo! Gateway and this an implementation that is beta quality, but provides the ability to send/receive messages from jabber users to yahoo user.
To run[/b]:
look at config.properties.template and change the values accordingly. These need to match the values on your jabber server (or xmpp server of choice, I haven’‘t tested other server though). You’'ll also need to setup your external components to include the proper domain (yahoo) and the proper secret phrase (test). Make sure all the files are in the same directory
I have trouble to run your code. May be the whole package need be recompiled. But I didn’'t find your source code for the ExternalGateway.
Thanks
Exception in thread “main” java.lang.UnsupportedClassVersionError: org/jivesoftware/messenger/gateway/ExternalGateway (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:2
Where do you live? It’‘s a silly question, but the only locale that I have resouces for is en. I’'ll create a base gatewayi18n resource bundel that is the same as the en locale.
Where do you live? It’'s a silly question, but the
only locale that I have resouces for is _en. I’'ll
create a base gateway_i18n resource bundel that is
the same as the en locale.
The trick we use is to store an _en bundle in SVN but then build a base bundle using Ant from the English bundle during build time. That makes it easier to keep stuff in sync.
Ahh, that would do it. I’‘ll implements Matt’'s solution and create another gateway.jar.
If you want, you can pull out the gateway_i18n_en.properties from the jar, rename it gateway_i18n.properties and put it back into the jar. This would at least get you up and running (assuming the rest is bug free ;).
Thanks for your interest in the plugin. I’'ll work hard to get all the issues resolved.
Can you see the yahoo. in your services discovery? Can you register? Does it ask for permission to add you to the roster? Can you see it in the external components session list in the admin server?
What client are you using? I’'ve used JBother to test, I might have done something that only JBother can parse.
In that case, contacts are not automatically pushed to your roster (there’‘s some discussion in the dev forum regarding feasibility, plus, do a search for rosterx and you’'ll see more discussion on the issue.
In the mean time, you’'ll have to do it manually. Sorry :(. I struggled with making this work and delayed this plugin about 2 weeks, before I put that feature on the backburner and pushed to get a 1.0 beta release.
What client are you using, do they support rosterx (JEP-144)?