Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Add an example that shows how to use Camel with the NMR configured in Blueprint.

        Activity

        Geert Schuring created issue -
        Show
        Geert Schuring added a comment - Patch made against http://svn.apache.org/repos/asf/servicemix/smx4/features/trunk/examples
        Geert Schuring made changes -
        Field Original Value New Value
        Attachment camel-nmr-blueprint.patch [ 12466357 ]
        Geert Schuring made changes -
        Attachment camel-nmr-blueprint.patch [ 12466357 ]
        Hide
        Geert Schuring added a comment -

        Updated patch because the properties file containing the admin service config was not included.

        Show
        Geert Schuring added a comment - Updated patch because the properties file containing the admin service config was not included.
        Geert Schuring made changes -
        Attachment camel-nmr-blueprint.patch [ 12466359 ]
        Hide
        Łukasz Dywicki added a comment -

        Hi Geert,
        It would be nice to add update strategy for endpoint - I mean cm:managed-properties on MyTransformer bean to show dynamic configuration update. What do you think?

        Regards,
        Lukasz

        Show
        Łukasz Dywicki added a comment - Hi Geert, It would be nice to add update strategy for endpoint - I mean cm:managed-properties on MyTransformer bean to show dynamic configuration update. What do you think? Regards, Lukasz
        Hide
        Geert Schuring added a comment - - edited

        Unfortunately, blueprint currently doesn't support dynamism using the OSGi config admin service. However, I am working out an example that achieves dynamism by referring to a service from the camel route. The service can then be made dynamic with iPojo (for instance) while blueprint takes care of locking calls while the service is being restarted after a config update.

        Show
        Geert Schuring added a comment - - edited Unfortunately, blueprint currently doesn't support dynamism using the OSGi config admin service. However, I am working out an example that achieves dynamism by referring to a service from the camel route. The service can then be made dynamic with iPojo (for instance) while blueprint takes care of locking calls while the service is being restarted after a config update.
        Hide
        Gert Vanthienen added a comment -

        Patch has been applied in http://svn.apache.org/viewvc?view=revision&revision=1057110 so people can already see the example as it is now.
        Thanks to Geert for providing this patch!

        I'm marking this issue resolved – if we can improve the example afterwards with more OSGi ConfigAdmin dynamics, we can always create a second issue for that.

        Show
        Gert Vanthienen added a comment - Patch has been applied in http://svn.apache.org/viewvc?view=revision&revision=1057110 so people can already see the example as it is now. Thanks to Geert for providing this patch! I'm marking this issue resolved – if we can improve the example afterwards with more OSGi ConfigAdmin dynamics, we can always create a second issue for that.
        Gert Vanthienen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Gert Vanthienen [ gertvanthienen ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Gert Vanthienen
            Reporter:
            Geert Schuring
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development