Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-3709

Duplicate MBean Names With router Sink

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.3 GA
    • Fix Version/s: 1.3.1
    • Component/s: Runtime
    • Labels:
      None

      Description

      For some reason, the Integration MBeanExporterHelper is not preventing the standard context MBeanExporter from exporting the AbstractMessageRouter. This should be suppressed (when an IMBE is present) because it's annotated @IntegrationManagedResource.

      Causes InstanceAlreadyExistsException.

      Workaround in the stack overflow answer.

      http://stackoverflow.com/questions/33838502/error-deploying-more-than-one-stream-with-a-router-1-3-0

      Could be an SI issue, but investigation needed. However, we should probably include the stream/job name in all MBeans for the stream (as is done for the integration exporter).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grussell Gary Russell
              Reporter:
              grussell Gary Russell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: