Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-3566

Protect source/target information of links initiated by a ConnectorServiceFactory implementations

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • amq-online

      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.

            csuconic@redhat.com Clebert Suconic
            keithbwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: