How to start an asychronous gateway from a Spring RestController then pass a message to the next channel?
<p>hi I'm using Spring integration and have injected a Gateway into a RestController</p>

<pre><code>&lt;int:gateway id="reportsService"
    service-interface="me.service.MyReportingGateway"
    default-request-channel="reportsRequestChannel" /&gt;

&lt;int:channel id="reportsRequestChannel" &gt;
    &lt;int:dispatcher task-executor="reportServiceExecutor" /&gt;&lt;/int:channel&gt;

&lt;task:executor id="reportServiceExecutor" pool-size="5" /&gt;

&lt;int:service-activator input-channel="reportsRequestChannel" output-channel="reportRouterChannel"&gt;
    &lt;bean id="reportServiceExecutor" class="me.service.SpecReporting"/&gt;
&lt;/int:service-activator&gt;

&lt;int:channel id="reportRouterChannel" /&gt;

&lt;int:router input-channel="reportRouterChannel" method="routeReport" ref="reportRouter"&gt;&lt;/int:router&gt;

&lt;bean class="me.service.ReportRequestRouter" id="reportRouter"&gt;
&lt;/bean&gt;

  &lt;int:channel id="report01Channel"&gt;
    &lt;int:queue capacity="10"&gt;&lt;/int:queue&gt;
  &lt;/int:channel&gt;

  &lt;int:channel id="report02Channel"&gt;
    &lt;int:queue capacity="10"&gt;&lt;/int:queue&gt;
  &lt;/int:channel&gt;

  &lt;!--  for the channels --&gt;
  &lt;int:poller default="true" fixed-delay="1000" id="poller"&gt;&lt;/int:poller&gt;

  &lt;int:service-activator input-channel="report01Channel"
    output-channel="CallbackChannel" ref="filewriter" method="writeFile"&gt;
  &lt;/int:service-activator&gt;
  &lt;int:service-activator input-channel="report02Channel"
    output-channel="CallbackChannel" ref="filewriter" method="writeFile"&gt;
  &lt;/int:service-activator&gt;

  &lt;bean class="me.service.CsvFileWriter" id="filewriter"&gt;&lt;/bean&gt;

  &lt;int:channel id="CallbackChannel" /&gt;

  &lt;int-http:outbound-gateway id="httpOutbound"
    request-channel="CallbackChannel"
    http-method="GET"
    url="http://localhost:8080/services/ping" /&gt;
</code></pre>

<p>My RestController injects the gateway:</p>

<pre><code>@Autowired
MyReporting reportsService;
</code></pre>

<p>and calls the method inside the controller method</p>

<pre><code>HttpStatus httpStatus = HttpStatus.OK;
ReportingResponse arr = new ReportingResponse();
AppError ae = new AppError();
ae.setCode("ANP-SM-1000");
ae.setDescription("Everything Criss!!");
arr.setErrors(ae);

logger.debug("Invoking: reportsService.createReport...");
// Async - this will start the report generation process
reportsService.createReport(reportId,rInput);

return new ResponseEntity&lt;ReportingResponse&gt;(arr, httpStatus);
</code></pre>

<p><strong>Since I configured a executor-executor channel with a void return how do I continue within this thread to the next channel which is reportRouterChannel?</strong></p>