Results 1 to 2 of 2

Thread: how to stop automatic channel creation?

  1. #1
    Join Date
    Feb 2012
    Posts
    12

    Default how to stop automatic channel creation?

    HI, I am new to SI and using 2.1.0.RELEASE. I noticed that the spring integration will create a channel automatically even the channel was not defined. for example, the code below will work (even there is no <channel id="countChannel"/> defined):

    <gateway id="gateway" service-interface="....."
    default-request-channel="countChannel"/>

    <service-activator input-channel="countChannel" ref="counter1" method="count"/>


    is there a way to stop this behaviour?


    many thanks,
    Zhu

  2. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,153

    Default

    There is currently no mechanism to do that.

    We have identified that it would be desirable to manage some kind of system-wide options, (for example to cater for things like https://jira.springsource.org/browse/INT-2285).

    This seems like another candidate for that mechanism.
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •