Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4435

CounterRepository bean not registering to the bus in blueprint configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.4
    • 2.4.9, 2.5.5, 2.6.2, 2.7
    • Management
    • None
    • Unknown

    Description

      CounterRepository does not register to the bus when it is configured in blueprint in the same way it is configured in spring, as

      <bean id="cr" class="org.apache.cxf.management.counters.CounterRepository">
      <property name="bus" ref="mybus" />
      </bean>

      The cause of this issue is that spring invokes CounterRepository's PostConst non-public method registerToBus, whereas blueprint can't.

      To make both work without any change to the configuration, we should remove the annotation and simply call this register method from the setBus method.

      Attachments

        Activity

          People

            ay Akitoshi Yoshida
            ay Akitoshi Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: