Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-1246

Update documentation for <publishing-interceptor> and @Publisher

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 2.0 M7
    • Component/s: Documentation
    • Labels:
      None

      Issue Links

        Activity

        Hide
        mark.fisher Mark Fisher added a comment -

        There's one thing that needs to be corrected. The "headers" attribute no longer exists on the method elements. The example should be updated to demonstrate <header> sub-elements instead. It should also mention that the "name" is required but that either "value" or "expression" can be provided.

        Also, we should at least briefly mention the ability to configure meta-annotations as an alternative to using @Publisher directly. There are some example in the tests here: PublisherAnnotationAdvisorTests (be sure to mention that the "channel" can be defined on the meta-annotation in those cases).

        Show
        mark.fisher Mark Fisher added a comment - There's one thing that needs to be corrected. The "headers" attribute no longer exists on the method elements. The example should be updated to demonstrate <header> sub-elements instead. It should also mention that the "name" is required but that either "value" or "expression" can be provided. Also, we should at least briefly mention the ability to configure meta-annotations as an alternative to using @Publisher directly. There are some example in the tests here: PublisherAnnotationAdvisorTests (be sure to mention that the "channel" can be defined on the meta-annotation in those cases).

          People

          • Assignee:
            oleg.zhurakousky@springsource.com Oleg Zhurakousky
            Reporter:
            mark.fisher Mark Fisher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: