Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1426

[Spring DM] Properties update callback is empty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • M1
    • None
    • None
    • None
    • % %
    • Hide

      Execute mvn clean install against attached project.

      Show
      Execute mvn clean install against attached project.

    Description

      The attached example contains Pax Exam test executed against Spring DM module. I define the bean as follows:

          <bean id="prefixer" class="fuse.pocs.camel.spring.properties.Prefixer">
              <osgix:managed-properties persistent-id="my.persistent.id" update-strategy="bean-managed" update-method="updateCallback"/>
          </bean>
      

      And expect the bean to be populated with the following properties:

          <osgix:cm-properties id="properties" persistent-id="my.persistent.id">
              <prop key="prefix">MyPrefix</prop>
          </osgix:cm-properties> 
      

      Unfortunately the map passed to the updateCallback method is empty, while I expect it to contains prefix=MyPrefix entry.

      Attachments

        Activity

          People

            janstey@redhat.com Jonathan Anstey
            hkonsek Henryk Konsek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: