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

allow no-argument Gateway methods to be configured for sending Messages

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 2.1 M2
    • Component/s: None
    • Labels:
      None

      Description

      The current behavior (which will most likely remain the default) is that a no-arg method on a Gateway interface will be used to receive a Message from a PollableChannel. We should enable a configuration option that can label such methods to be used as send operations if desirable. This would most likely need to go hand-in-hand with a method-specific 'payload-expression'. For example, it might be configured to send a static string, the current date/time, etc.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark.fisher Mark Fisher
                Reporter:
                mark.fisher Mark Fisher
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: