-
Yes, however, I think that the main cause was usage of
localpart@domain
for internal components. If we would use ie.amp.sure.im
that would solve this issue and wouldn't allow it to happen - there wouldn't be anything to block. Most of the components are using "domain-only" jids as their address but some still uselocalpart@domain
format. -
So basically adjust:
@ConfigField(desc = "AMP component JID", alias = AMP_JID_PROP_KEY) private JID ampJID = JID.jidInstanceNS("amp@" + defHost);
?
Should we rename this issue into: "make all components use domain for addressing" that would entail reviewing all components?
-
I think that we would need to review all places where
amp
is used for addressing and adjust them (also changing the line you mentioned) and then review other/all components. I think this would be a better approach and with that we could adjust routing mechanism inMessageRouter
to skip looking for components atlocalpart@domain
(that should speed up routing).
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-9.0.0, tigase-server-8.5.0
|
Sprints |
n/a
|
Customer |
n/a
|
-
tigase-server-8.5.0 Open
-
tigase-server-9.0.0 Open
to-do (based on Andrzej's comment below):
Original issue: