Как мы можем изменить тип канала в весенней интеграции? - PullRequest
0 голосов
/ 27 сентября 2018

Предположим, как показано ниже, код моей реализации

<int:channel id="channel"/>
    <int:inbound-channel-adapter id="inAdapter" channel="channel" method="produce">
        <bean class="spring.integration.stackoverflow.ioadapter.Application$MessageProducer"/>
        <int:poller fixed-rate="1000"/>
    </int:inbound-channel-adapter>
    <int:outbound-channel-adapter id="outAdapter" channel="channel" method="consume">
        <bean class="spring.integration.stackoverflow.ioadapter.Application$MessageConsumer"/>
    </int:outbound-channel-adapter>

Здесь тип данных по умолчанию как "String".Как мы можем изменить тип данных для java.util.List?Это означает, что мне нужно составить список объектов и потреблять то же самое.

...