Uploaded image for project: 'Spring Integration Samples'
  1. Spring Integration Samples
  2. INTSAMPLES-141

Can't Use Common Transformers with JavaConfig

    XMLWordPrintable

    Details

      Description

      I'm trying to convert Spring-Integration TCP basic example to a @Configuration enviroment. But when trying to declare a bean using @Bean and @Transformer annotation the inputChannel cannot be inject into the gateway object. The configuration conversion was based on this documentation item:

      http://docs.spring.io/spring-integration/reference/html/configuration.html#annotations

      You can see a test case on the classes appended to this issue.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            pccampos Pedro Casagrande de Campos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: