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

[Spring DM] Properties update callback is empty

XMLWordPrintable

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

      Execute mvn clean install against attached project.

      Show
      Execute mvn clean install against attached project.

      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.

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

                Created:
                Updated:
                Resolved: