I just compiled whack library and the sample weather component I checked out a few days ago.
Now, I want to use it with a jabberd1.4 server (or jabberd2.0 - I work for two different teams: the first want to test jabberd and XCP, the second one jabberd and Jive Messenger, but deadlines are different, and I have to test jabberd2 first).
To use it, I registered weather component like the (so-called well known bandersnatch. That’'s to say, the weather component received message as blind copy. XML stream received by the component is like: .
As as consequence, the weather component shut down by an “Unknown packet type was read: route” exception (at org.jivesoftware.whack.SocketReadThread.readStream(SocketReadThread.java:107).
I suppose that I have to set up jabberd in a different way, but I don’'t know how.
I know it isn’'t the jabberd mailing-list, but it may not be a jabberd configuration problem but a wrong usage of the weather component. What do you think about it?
I don’'t know how to plug the weather component on a jabber server. Does it works only with Jive Messenger?
Eventually, my goal is to write a component which will intercept messages between two JID of my domain to filter messages or to modify them. Is component way the correct way to do this?