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

Spring integration service-interface gateway bridge should only forward message initiated by the gateway

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.4
    • Fix Version/s: 5.2 Backlog
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Websphere 8.0, Tomcat 6.0

      Description

      I am using Spring integration to launch Spring batch jobs. I have a number of input routes e.g. file polling and http requests. These all route to a batch-int Job Launching Gateway. The referenced Job Launcher has a task executor so job launches are asynchronous. This gateway replies on a specified channel.

      This specified channel 'jobLaunchReplyChannel' is pub/sub and has a logger listening to it. This channel is also used as the reply channel for a service-interface gateway.

      The issue I am having is that when jobs are requested via sources that are not the gateway (e.g. the poller) the Bridge that is added by gateway throws an exception because no reply channel is set on replies.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            Aigeec Aodhagán Collins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: