Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-792

Support run as subject for Camel NMR endpoint

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.4.0
    • Component/s: camel-nmr
    • Labels:
      None

      Description

      Now that the NMR supports invoking endpoints on behalf of the Subject that lives in the Message (cfr. SMX4NMR-265), we should improve the Camel NMR component to support this feature as well.

        Activity

        Show
        ffang Freeman Fang added a comment - commit fix http://svn.apache.org/viewvc?rev=1092582&view=rev
        Hide
        gertvanthienen Gert Vanthienen added a comment -

        Most of the other Camel endpoint use a camelCaseNotation (starting with a lower case) for this kind of endpoint properties. I would suggest we stick to the same kind of naming convention for our endpoints.

        So, instead of having...

        from("nmr:helloworld?RUN_AS_SUBJECT=true").process(new SubjectProcessor());
        

        ... we should try to make that something like this instead:

        from("nmr:hellworld?runAsSubject=true").process(new SubjectProcessor());
        
        Show
        gertvanthienen Gert Vanthienen added a comment - Most of the other Camel endpoint use a camelCaseNotation (starting with a lower case) for this kind of endpoint properties. I would suggest we stick to the same kind of naming convention for our endpoints. So, instead of having... from( "nmr:helloworld?RUN_AS_SUBJECT= true " ).process( new SubjectProcessor()); ... we should try to make that something like this instead: from( "nmr:hellworld?runAsSubject= true " ).process( new SubjectProcessor());
        Hide
        ffang Freeman Fang added a comment -

        commit change per Gert's suggestion, thanks Gert.
        http://svn.apache.org/viewvc?rev=1095252&view=rev

        Show
        ffang Freeman Fang added a comment - commit change per Gert's suggestion, thanks Gert. http://svn.apache.org/viewvc?rev=1095252&view=rev

          People

          • Assignee:
            ffang Freeman Fang
            Reporter:
            gertvanthienen Gert Vanthienen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development