-
Story
-
Resolution: Unresolved
-
Major
-
None
-
None
https://issues.apache.org/jira/browse/ARTEMIS-2756
Artemis already has an extension point, ConnectorServiceFactory, that allows a user provided plugin to connect Artemis to services in different ways. In our use case, we use ConnectorServiceFactory to initiate outbound AMQP connections and in some cases initiate AMQP sending and receiving too.
In the case where the plugin initiates a link, there is currently a problem. The AMQP partner's attach 'response' may change the source (in the case of sending link initiated by the plugin) or target (in the case receiving link). Currently Artemis internally has no way to distinguish between a link initiated by a partner from one itself (well, a plugin) has initiated so it treats the partner's view of the link as definitive. If the partner has not reflected the source/target fully this may mean a link to the wrong destination is formed.
See upstream JIRA for an example.