guruz
August 3, 2008, 7:22pm
1
Hiya,
I am coding a component as a plugin.
Let’s say the component is then called c and should be reachable as c.example.com .
When sending a message in Openfire via getMessageRouter.route () it works fine. Also, the RoutingTable says it knows a route to c.
However, when sending a message with a Jabber client connected to example.com to whatever@c.example.com it fails and Openfire seems to try to lookup c.example.com .
So my question is, do I need a DNS record? I hoped Openfire would properly route without, since changing DNS currently is not feasible for me.
thank you,
Markus
guruz
August 3, 2008, 7:30pm
2
Hm, as an alternative I could use PacketInterceptor I think. That way I could go without components and with using messages and not IQ. But that is a bit overkill
So my question is, do I need a DNS record?
No, you don’t.
I don’t know where the problem is, but the Helga-Bot does accept whatever@helga.example.com just by implementing that Component interface.
I suggest you take a look in to Helga’s source code to find out what different:
guruz
August 4, 2008, 4:58am
4
ok, thanks.
I’ll look into it in some hours and report back.
guruz
August 4, 2008, 6:29am
5
Great, I’ve changed my class by adapting Helga.java and now the packets appear. I can’t see a difference except the atomic stuff and that annoys me a bit sigh .
Anyway, thank you