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

Using a placeholder (or SpEL expression) for the 'using-nio' attribute does not work; it causes a TcpNet* connection factory to be defined unconditionally.

    Details

      Description

      In the xml context, when using a placeholder (or SpEL expression) on the 'using-nio' attribute does not work.

      <ip:tcp-connection-factory id="server" type="server" port="${integration.server.port}" using-nio="${integration.server.using-nio}" single-use="true"
      so-timeout="${integration.server.so-timeout}" deserializer="deserializer" task-executor="socketExecutor"
      so-linger="${integration.server.so-linger}" so-send-buffer-size="${integration.server.so-send-buffer}"
      so-receive-buffer-size="${integration.server.so-receive-buffer}" />

      It result in a TcpNet* connection factory to be defined unconditionally.

        Attachments

          Activity

            People

            • Assignee:
              grussell Gary Russell
              Reporter:
              oquirion Olivier Quirion
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1d
                1d
                Remaining:
                Remaining Estimate - 1d
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified